hnn_core.Section#
- class hnn_core.Section(L, diam, Ra, cm, v0=-65, end_pts=None)[source]#
Section class.
- Parameters:
- Lfloat
length of a section in microns.
- diamfloat
diameter of a section in microns.
- cmfloat
membrane capacitance in micro-Farads.
- Rafloat
axial resistivity in ohm-cm
- v0float
start value for membrane potential in millivolts.
- end_ptslist of [x, y, z], optional
The start and stop points of the section.
- Attributes:
- mechsdict
Mechanisms to insert in this section. The keys are the names of the mechanisms and values are the properties. For e.g., {‘ca’: {‘gbar_ca’: 60}}
- synslist of str
The synaptic mechanisms to add in this section
- end_ptslist of [x, y, z]
The start and stop points of the section. Cannot be changed.
- Lfloat
length of a section in microns.
- diamfloat
diameter of a section in microns.
- cmfloat
membrane capacitance in micro-Farads.
- Rafloat
axial resistivity in ohm-cm.
- v0float
Initial value for membrane potential in millivolts.
- nsegint
Number of segments in the section
Methods
to_dict()Converts an object of Section class to a dictionary.