dvid.fetch.get_body_position

dvid.fetch.get_body_position(bodyid, server=None, node=None)[source]

Get a single position for given body ID.

This will (like neutu) use the skeleton. If body has no skeleton, will use mesh as fallback.

Parameters
  • bodyid (int | str) – Body ID for which to find a position.

  • server (str, optional) – If not provided, will try reading from global.

  • node (str, optional) – If not provided, will try reading from global.

Return type

(x, y, z)