API referencesingle_cell_parseriomorphology

swc

Read and write .swc morphologies.

Functions

write_swc(sections, of, skip_myelin, remap_sections)

Write out a cell object to .swc.

swc_to_point_dict(swc_filepath)

Extract point coordinate information.

build_section_directory(root_ids, points_dict)

Build an ordered list of section records from an SWC point dictionary.

complete_soma(sections)

Expand a single-point soma to a 3-point cable representation.

read_swc(swc_fn, remap_labels)

Read a SWC morphology file.

Attributes

logger

-