neat.MorphTree.getLocindsOnNode

MorphTree.getLocindsOnNode(name, node)[source]

Returns a list of the indices of locations in the list of a given name that are on a the input node, ordered for increasing x

Parameters
  • name (string) – which list of locations to consider

  • node (neat.MorphNode) – the node to consider. Should be part of the original tree

Returns

indices of locations on the path

Return type

list of ints