pymaid.upload_volume

pymaid.upload_volume(x, name, comments=None, remote_instance=None)[source]

Upload volume/mesh to CatmaidInstance.

Parameters:
  • x (Volume | dict) –

    Volume to export. Can be::
    • pymaid.Volume

    • dict: {

      ‘faces’: array-like, ‘vertices’: array-like }

  • name (str) – Name of volume. If None will use the Volume’s .name property.

  • comments (str, optional) – Comments to upload.

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

Returns:

Server response.

Return type:

dict