neat.MorphTree.__getitem__

MorphTree.__getitem__(index, skip_inds=(2, 3))[source]

Returns the node with given index, if no such node is in the tree, None is returned.

Parameters

index (int) – the index of the node to be found

Returns:

neat.MorphNode or None