PySection2
-
class singlecell_input_mapper.udvary2022.cell.PySection2(name=
None, cell=None, label=None)
Bases: object
Convenience class around NEURON’s Section class.
Provides an interface with existing methods in ISF for cell
parsing and mapping synapses without any additional NEURON [7]
dependencies.
- Parameters:
- name : str
Name of the section. Default: None.
- cell : str
Name of the cell. Default: None.
- label : str
Label of the section. Default: None.
- Attributes:
-
name
Name of the section.
- Type:
str
-
label
Label of the section (e.g. “Soma”, “Dendrite”, “ApicalDendrite” …).
- Type:
str
-
parent
Parent section.
- Type:
PySection2
-
parentx
Relative position along the parent section (0-1).
Usually, sections are split up on branch points, making parentx equal to 1.0, but
this is not always the case (e.g. when the section has a similar diameter beyond the branch point).
- Type:
float
-
bounds
Bounding box around the section.
- Type:
tuple
-
nrOfPts
Number of traced 3D coordinates.
- Type:
int
-
pts
List of traced 3D coordinates.
- Type:
list
-
relPts
List of relative position of 3D points along the section.
- Type:
list
-
diamList
List of diameters at traced 3D coordinates.
- Type:
list
-
L
Length of the section.
- Type:
float
- Methods:
Documentation unclear, incomplete, broken or wrong? Let us know