neuron_morphology.features.statistics.moments_along_max_distance_projection

Module Contents

Functions

moments_along_max_distance_projection(data: Data, node_types: Optional[List] = None, coord_type: COORD_TYPE = COORD_TYPE.BIFURCATION) Calculate the distance projections of a specific compartment and coordinate type along
neuron_morphology.features.statistics.moments_along_max_distance_projection.moments_along_max_distance_projection(data: Data, node_types: Optional[List] = None, coord_type: COORD_TYPE = COORD_TYPE.BIFURCATION)

Calculate the distance projections of a specific compartment and coordinate type along the line segment connecting soma to the most distant (from soma) node of that compartment.

Parameters:
data: Data Object containing a morphology
node_types: a list of node types (see neuron_morphology constants)
coord_type: Restrict which coordinate types are measured (i.e. projected along line segment)

(see neuron_morphology.features.statistics.coordinates for options)

Returns:
summary_dict: summary stats of distances projected along specified line segment