pymaid.get_node_table

pymaid.get_node_table(x, include_details=True, convert_ts=True, remote_instance=None)[source]

Retrieve node table(s) for a list of neurons.

Parameters:
  • x

    Catmaid Neuron(s) as single or list of either:

    1. skeleton IDs (int or str)

    2. neuron name (str, exact match)

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

    4. CatmaidNeuron or CatmaidNeuronList object

  • include_details (bool, optional) – If True, tags and reviewer are included in the table. For larger lists, it is recommended to set this to False to improve performance.

  • convert_ts (bool, optional) – If True, will convert edition timestamp to pandas datetime. Set to False to improve performance.

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

Returns:

DataFrame in which each row represents a node:

  skeleton_id  node_id  parent_id  confidence  x  y  z  ...
0
1
2
...
  radius  creator  last_edition  reviewers  tag
0
1
2

Return type:

pandas.DataFrame