neuralib.morpho.swc.SwcNode
- class neuralib.morpho.swc.SwcNode[source]
Bases:
NamedTupleSwcNode(n, identifier, x, y, z, r, parent)
- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
See IDENTIFIER_DICT
node number
parent connectivity
radius
position x
position y
position z
- n: int
node number
- identifier: int
See IDENTIFIER_DICT
- x: float
position x
- y: float
position y
- z: float
position z
- r: float
radius
- parent: int
parent connectivity
- property identifier_name: str
- property point: ndarray
- property is_undefined: bool
- property is_soma: bool
- property is_axon: bool
- property is_basal_dendrite: bool
- property is_apical_dendrite: bool
- property is_dendrite: bool
- property is_custom: bool
- static __new__(_cls, n, identifier, x, y, z, r, parent)
Create new instance of SwcNode(n, identifier, x, y, z, r, parent)
- Parameters:
n (int)
identifier (Identifier)
x (float)
y (float)
z (float)
r (float)
parent (int)