single_cell_parser
❭ reader
❭ _Edge
_Edge¶
- class single_cell_parser.reader._Edge¶
Convenience class for NEURON segments.
Private class used in
read_hoc_file()
to store information about a single morphological segment spanning from point to point. These edges are loosely similar to NEURON segments if full segmentation is used, but should not be used as API to neuron segments. If \(d-\lambda\) segmentation is used, these edges are not comparable to NEURON segments.The purpose of this class is for private use in reading in hoc files: it should not be invoked directly.
See also
determine_nseg()
for determining the number of segments in a section, and API access to NEURON segments.See also
singlecell_input_mapper.singlecell_input_mapper.reader._Edge
for a similar class that is used in thesinglecell_input_mapper
module.- Attributes:¶
- parentConnect¶
How far along the parent section the connection is (i.e. the x-coordinate).
- Type:¶
float
- Methods:¶
is_valid
()Check if this edge is valid.