neat.MorphTree.get_loc_idxs_on_nodes¶
- MorphTree.get_loc_idxs_on_nodes(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.convert_node_arg_to_nodes
- Returns:
indices of locations on the path
- Return type:
list of ints