neurom.io.swc.SWC

class neurom.io.swc.SWC

Bases: object

Read SWC files and unpack into internal raw data block

Input row format: [ID, TYPE, X, Y, Z, R, PARENT_ID] Internal row format: [X, Y, Z, R, TYPE, ID, PARENT_ID]

Methods

read Read an SWC file and return a tuple of data, format.

Attributes

ID
P
R
TYPE
X
Y
Z