get_active_voxel_size#

deeptrack.backend.units.get_active_voxel_size() tuple[float, float, float]#

Get the active voxel size used for simulation, in meters.

This function retrieves the size of one simulation voxel along the x, y, and z axes by converting from simulation pixel units (sxpx, sypx, and szpx) to meters using the DeepTrack unit registry.

Returns#

tuple[float, float, float]

The voxel size in meters as (x, y, z).

Examples#

>>> from deeptrack.backend.units import get_active_voxel_size

Get the standard voxel size in meters: >>> get_active_voxel_size() (1e-06, 1e-06, 1e-06)