neat.MorphTree.getNodes

MorphTree.getNodes(recompute_flag=0, 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 treetype.

Parameters
  • recompute_flag (bool) – whether or not to re-evaluate the node list. Defaults to False.

  • 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.

Returns

Return type

list of neat.MorphNode