neurom.io.swcΒΆ

Module for morphology SWC data loading

Data is unpacked into a 2-dimensional raw data block:

[X, Y, Z, R, TYPE, ID, PARENT_ID]
SWC format:
[ID, TYPE, X, Y, Z, R, PARENT_ID]

There is one such row per measured point.

Functions

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