pymaid.add_node

pymaid.add_node(coords, parent_id=None, radius=-1, confidence=5, remote_instance=None)[source]

Create single (!) node at given location.

Parameters:
  • coords (tuple) – Tuple containing x/y/z coordinates.

  • parent_id (int | None, optional) – If not None, will connect new node to this parent.

  • radius (int, optional) – Radius of new node.

  • confidence (int, optional) – Edge confidence to parent (if applicable).

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

Returns:

Response from Catmaid server.

Return type:

dict

See also

add_connector()

Use this to add connectors.

delete_nodes()

Use this to delete nodes or connectors.