allensdk.internal.core.swc module

class allensdk.internal.core.swc.Marker(*args, **kwargs)[source]

Bases: dict

Simple dictionary class for handling reconstruction marker objects.

CUT_DENDRITE = 10
NO_RECONSTRUCTION = 20
SPACING = [0.1144, 0.1144, 0.28]
allensdk.internal.core.swc.read_marker_file(file_name)[source]

read in a marker file and return a list of dictionaries

allensdk.internal.core.swc.read_swc(file_name)[source]

Read in an SWC file and return a Morphology object.

Parameters:
file_name: string

SWC file name.

Returns:
Morphology

A Morphology instance.