morphoclass.transforms.global_features.total_path_length module¶
Implementation of the TotalPathLength global feature extractor.
-
class
morphoclass.transforms.global_features.total_path_length.TotalPathLength(tree_hash_fn=None, from_morphology=False)¶ -
Extract total path length of the apical.
The data should contain the field tmd_neurites, see the ExtractTMDNeurites class.
-
extract_global_feature(data)¶ Extract the total path length global feature from data sample.
- Parameters
data – A morphology data sample.
- Returns
- Return type
The total path length of the morphology.
-