pymaid.get_skid_from_node

pymaid.get_skid_from_node(node_ids, remote_instance=None)[source]

Retrieve skeleton IDs from a list of nodes.

Parameters
  • node_ids (int | list of int) – Node ID(s) to retrieve skeleton IDs for.

  • remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.

Returns

{node_id: skeleton_ID, ...}. If node does not exists, skeleton_ID will be None.

Return type

dict