deeptrack.backend.units Module#

Functions#

create_context([xpixel, ypixel, zpixel, ...])

Creates a new context for unit conversions.

get_active_scale()

Gets the active scale difference between optical units and simulation units.

get_active_voxel_size()

Gets the size of a voxel used for simulation.

Classes#

Context([name, aliases, defaults])

A specialized container that defines transformation functions from one dimension to another.

ConversionTable(**conversions)

Convert a dictionary of values to the desired units.

Quantity()

Unit(*args, **kwargs)

ndarray

ndarray(shape, dtype=float, buffer=None, offset=0,