morphoclass.transforms.global_features.extract_maximal_apical_path_length module

Implementation of the ExtractMaximalApicalPathLength global feature extractor.

class morphoclass.transforms.global_features.extract_maximal_apical_path_length.ExtractMaximalApicalPathLength(tree_hash_fn=None)

Bases: morphoclass.transforms.global_features.abstract_global_feature_extractor.AbstractGlobalFeatureExtractor

Extract maximal neurite length.

Maximal path distance form soma to a tip (leaf node)

The data should contain the field tmd_neurites, see the ExtractTMDNeurites class.

extract_global_feature(data)

Extract the maximal apical length global feature from data.

Parameters

data – The input morphology.

Returns

Return type

The maximal apical length of the morphology.