pymaid.neuron_label.Annotations¶
- class pymaid.neuron_label.Annotations(annotator_name: str | None = None, annotated_with: str | None = None)[source]¶
LabelComponent which adds annotations to a neuron’s label.
- Parameters:
annotator_name (Optional[str], optional) – Only include annotations created by a user of this name, by default None (do not filter)
annotated_with (Optional[str], optional) – Only include annotations which have this meta-annotation, by default None (do not filter)
- __init__(annotator_name: str | None = None, annotated_with: str | None = None) None [source]¶
- Parameters:
annotator_name (Optional[str], optional) – Only include annotations created by a user of this name, by default None (do not filter)
annotated_with (Optional[str], optional) – Only include annotations which have this meta-annotation, by default None (do not filter)
Methods
__init__
([annotator_name, annotated_with])- param annotator_name:
Only include annotations created by a user of this name,
label
(nrn[, sep])Extract information from a neuron for labelling purposes.