neuralib.morpho.swc.SwcNode

class neuralib.morpho.swc.SwcNode[source]

Bases: NamedTuple

SwcNode(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

identifier

See IDENTIFIER_DICT

identifier_name

is_apical_dendrite

is_axon

is_basal_dendrite

is_custom

is_dendrite

is_soma

is_undefined

n

node number

parent

parent connectivity

point

r

radius

x

position x

y

position y

z

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)