pymaid.get_neuron_id

pymaid.get_neuron_id(x, remote_instance=None)[source]

Get neuron ID(s) for given skeleton(s).

Parameters
  • x (list-like | CatmaidNeuron/List) – Skeleton IDs for which to get neuron IDs.

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

Returns

{skeleton_id (str): neuron_id (int), ... }

Return type

dict