morphoclass.transforms.global_features.extract_number_leaves module¶
Implementation of the ExtractNumberLeaves global feature extractor.
-
class
morphoclass.transforms.global_features.extract_number_leaves.ExtractNumberLeaves¶ -
Extract number of leaf nodes.
The data should contain the field tmd_neurites, see the ExtractTMDNeuritess class.
-
extract_global_feature(data)¶ Extract the number of leaf nodes of the morphology.
- Parameters
data – A morphology data sample.
- Returns
- Return type
The total number of leaf nodes of the morphology.
-