neat.MorphTree.getLocindsOnNodes¶
-
MorphTree.
getLocindsOnNodes
(name, node_arg)[source]¶ Returns a list of the indices of locations in the list of a given name that are on one of the nodes specified in the node list. Within each node, locations are ordered for increasing x
- Parameters
name (string) – which list of locations to consider
node_arg – see documentation of MorphTree._convertNodeArgToNodes
- Returns
indices of locations on the path
- Return type
list of ints