pymaid.add_connector¶
- pymaid.add_connector(coords, check_existing=True, remote_instance=None)[source]¶
Create connector(s) at given location.
- Parameters
coords (list-like) – Either single or list of [x, y, z] coordinates at which to create new connectors.
check_existing (bool, optional) – If True will search the remote_instance at the _exact_ location of each connector to be uploaded, and if a connector is already present, a new connector will not be created, instead the existing connector’s ID will be returned.
remote_instance (CatmaidInstance, optional) – If not passed directly, will try using global.
- Returns
Response from Catmaid server containing new connector ID.
- Return type
dict
See also
link_connector()
To link your newly created connectors to nodes.
add_node()
Use this to add nodes.