SubMorphology class¶
(Shortest import: from brian2.spatialneuron.morphology import SubMorphology)

class
brian2.spatialneuron.morphology.
SubMorphology
(morphology, i, j)[source]¶ Bases:
object
A view on a subset of a section in a morphology.
Attributes
area
The membrane surface area of each compartment in this subsection. diameter
The diameter at the middle of each compartment in this subsection. distance
The total distance between the midpoint of each compartment in this subsection and the root of the morphology. end_x
The x coordinate at the end of each compartment in this subsection. end_x_
The x coordinate (as a unitless floating point number) at the end of each compartment in this subsection. end_y
The y coordinate at the end of each compartment in this subsection. end_y_
The y coordinate (as a unitless floating point number) at the end of each compartment in this subsection. end_z
The z coordinate at the end of each compartment in this subsection. end_z_
The z coordinate (as a unitless floating point number) at the end of each compartment in this subsection. length
The length of each compartment in this subsection. n
The number of compartments in this subsection. n_sections
The number of sections in this subsection (always 1). r_length_1
The geometrydependent term to calculate the conductance between the start and the midpoint of each compartment in this subsection. r_length_2
The geometrydependent term to calculate the conductance between the midpoint and the end of each compartment in this subsection. start_x
The x coordinate at the beginning of each compartment in this subsection. start_x_
The x coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. start_y
The y coordinate at the beginning of each compartment in this subsection. start_y_
The y coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. start_z
The x coordinate at the beginning of each compartment in this subsection. start_z_
The z coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. volume
The volume of each compartment in this subsection. x
The x coordinate at the midpoint of each compartment in this subsection. x_
The x coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. y
The y coordinate at the midpoint of each compartment in this subsection. y_
The y coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. z
The z coordinate at the midpoint of each compartment in this subsection. z_
The z coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. Details

area
¶ The membrane surface area of each compartment in this subsection.

diameter
¶ The diameter at the middle of each compartment in this subsection.

distance
¶ The total distance between the midpoint of each compartment in this subsection and the root of the morphology.

end_x
¶ The x coordinate at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

end_x_
¶ The x coordinate (as a unitless floating point number) at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

end_y
¶ The y coordinate at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

end_y_
¶ The y coordinate (as a unitless floating point number) at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

end_z
¶ The z coordinate at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

end_z_
¶ The z coordinate (as a unitless floating point number) at the end of each compartment in this subsection. Returns
None
for morphologies without coordinates.

length
¶ The length of each compartment in this subsection.

n
¶ The number of compartments in this subsection.

n_sections
¶ The number of sections in this subsection (always 1).

r_length_1
¶ The geometrydependent term to calculate the conductance between the start and the midpoint of each compartment in this subsection. Dividing this value by the Intracellular resistivity gives the conductance.

r_length_2
¶ The geometrydependent term to calculate the conductance between the midpoint and the end of each compartment in this subsection. Dividing this value by the Intracellular resistivity gives the conductance.

start_x
¶ The x coordinate at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

start_x_
¶ The x coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

start_y
¶ The y coordinate at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

start_y_
¶ The y coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

start_z
¶ The x coordinate at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

start_z_
¶ The z coordinate (as a unitless floating point number) at the beginning of each compartment in this subsection. Returns
None
for morphologies without coordinates.

volume
¶ The volume of each compartment in this subsection.

x
¶ The x coordinate at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.

x_
¶ The x coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.

y
¶ The y coordinate at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.

y_
¶ The y coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.

z
¶ The z coordinate at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.

z_
¶ The z coordinate (as a unitless floating point number) at the midpoint of each compartment in this subsection. Returns
None
for morphologies without coordinates.
