neat.CompartmentTree.get_nodes_from_loc_idxs

CompartmentTree.get_nodes_from_loc_idxs(*args)[source]

find the nodes that correspond(s) to a (list of) location index (indices)

Parameters:

args (int or list of int) – location indices

Return type:

neat.CompartmentNode or list of `neat.CompartmentNode