neat.MorphTree.get_nodes

MorphTree.get_nodes(skip_inds=(2, 3))[source]

Overloads the parent function to allow skipping nodes with certain indices and to return the nodes associated with the corresponding active tree.

Parameters:

skip_inds (tuple of ints) – Indices of the nodes that are skipped by the iterator. Defaults to (2,3), the nodes that contain extra geometrical information on the soma.

Return type:

list of neat.MorphNode