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:
list of skeleton ID(s) (int or str)
list of neuron name(s) (str, exact match)
an annotation: e.g. ‘annotation:PN right’
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