pymaid.get_node_location

pymaid.get_node_location(x, sort=True, remote_instance=None)[source]

Retrieves location for a set of nodes or connectors.

Parameters
  • x (int | list of int) – Node ID(s).

  • sort (bool, optional) – If True, will sort returned DataFrame to be in the same order as input data.

  • remote_instance (CatmaidInstance, optional) – If not provided, will search for globally defined remote instance.

Returns

DataFrame in which each row represents a node:

   node_id  x  y  z
0
1
...

Return type

pandas.DataFrame