# API Reference v10.3.1 (Python)

## Measurement (data class)

Module: zaber_motion

Represents a numerical value with optional units specified.

To use this type, add `from zaber_motion import Measurement` to the top of your source code.

Related Guides:

- [Sending arbitrary commands](https://software.zaber.com/motion-library/docs/guides/library_features/arbitrary_commands.md)

### Properties

#### `value`

`measurement.value`

Type: `float`

Value of the measurement.

#### `unit` (optional)

`measurement.unit`

Type: [`Optional[UnitsAndLiterals]`](https://software.zaber.com/motion-library/api/py/root/units.md)

Optional units of measure. If not set, most functions assume device native units as the default. Some contexts, such as the Movable class allow you to specify custom default units.
