morphoclass.transforms.node_features.extract_branching_angles module

Implementation of the branching angles node feature extractor.

class morphoclass.transforms.node_features.extract_branching_angles.ExtractBranchingAngles(non_branching_angle=0.0)

Bases: object

Extract branching angles from neurites trees.

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

For each apical tree in the neuron the branching angles of all node points of the morphology are extracted and added to the feature vector. For points without a branching (root, leaf, and intermediate nodes) the angle is set a fixed value (default: 0.0)

Parameters

non_branching_angle (float (optional)) – The default angle value for non-branching nodes.