Cylinder class¶
(Shortest import: from brian2 import Cylinder)
- class brian2.spatialneuron.morphology.Cylinder(**kwds)[source]¶
Bases:
Section
A cylindrical section. For sections with more complex geometry (varying length and/or diameter of each compartment), use the
Section
class.Attributes
The membrane surface area of each compartment in this section.
The diameter at the middle of each compartment in this section.
The diameter at the end of each compartment in this section.
The geometry-dependent term to calculate the conductance between the start and the midpoint of each compartment.
The geometry-dependent term to calculate the conductance between the midpoint and the end of each compartment.
The diameter at the start of each compartment in this section.
The volume of each compartment in this section.
Methods
Create a copy of the current section (attributes of this section only, not re-creating the parent/children relation)
Details
- area¶
The membrane surface area of each compartment in this section. The surface area of each compartment is calculated as \(\pi d l\), where \(l\) is the length of the compartment, and \(d\) is its diameter. Note that this surface area does not contain the area of the two disks at the two sides of the cylinder.
- diameter¶
The diameter at the middle of each compartment in this section.
- end_diameter¶
The diameter at the end of each compartment in this section.
- r_length_1¶
The geometry-dependent term to calculate the conductance between the start and the midpoint of each compartment. Dividing this value by the Intracellular resistivity gives the conductance.
- r_length_2¶
The geometry-dependent term to calculate the conductance between the midpoint and the end of each compartment. Dividing this value by the Intracellular resistivity gives the conductance.
- start_diameter¶
The diameter at the start of each compartment in this section.
- volume¶
The volume of each compartment in this section. The volume of each compartment is calculated as \(\pi \frac{d}{2}^2 l\) , where \(l\) is the length of the compartment, and \(d\) is its diameter.