pymaid.get_names

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

Retrieve neuron names for a list of skeleton ids.

Parameters
  • x

    Neurons for wich to retrieve names. Can be either:

    1. list of skeleton ID(s) (int or str)

    2. list of neuron name(s) (str, exact match)

    3. an annotation: e.g. ‘annotation:PN right’

    4. CatmaidNeuron or CatmaidNeuronList object

  • remote_instance (CatmaidInstance, optional) – Either pass directly to function or define globally as remote_instance.

Returns

{skid1: 'neuron_name', skid2: 'neuron_name', ...}

Return type

dict