API referencesingle_cell_parserio

morphology

Read, write and convert morphology files.

Specific readers for morphology files are defined in submodules. This module specifies converters between .swc and .hoc morphologies.

Functions

read_morphology(fn, remap_labels)

Read a morphology in .hoc or .swc format.

convert_swc_to_hoc(swc_fn, of, axon)

Convert a .swc morphology file to .hoc format.

convert_hoc_to_swc(hoc_fn, of, axon, skip_myelin, remap_sections)

Convert a .hoc morphology file to swc format.

Attributes

logger

-

Modules

hoc

Read and write .hoc morphologies.

swc

Read and write .swc morphologies.