neuralib.atlas.util.SourceCoordinates

class neuralib.atlas.util.SourceCoordinates[source]

Bases: NamedTuple

SourceCoordinates(source, coordinates)

__init__()

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

ap

coordinates

AP, DV, ML coordinates.

dv

ml

source

Name of the injection alias

source: str

Name of the injection alias

coordinates: ndarray

AP, DV, ML coordinates. Array[float, [N, 3]]

property ap: ndarray
property dv: ndarray
property ml: ndarray
static __new__(_cls, source, coordinates)

Create new instance of SourceCoordinates(source, coordinates)

Parameters:
  • source (str)

  • coordinates (ndarray)