neat.MorphTree.get_leafs

MorphTree.get_leafs(node=None)[source]

Overloads the get_leafs of the parent class to return the leaf nodes in the corresponding active tree.

Parameters:

node (neat.SNode (optional)) – The starting node. Defaults to the root