# API Reference v10.3.1 (Python)

## UnitConversionDescriptor (data class)

Module: zaber_motion

Information about unit conversion.

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

### Properties

#### `dimension`

`unit_conversion_descriptor.dimension`

Type: `str`

Name of the dimension being converted.

#### `conversion_function`

`unit_conversion_descriptor.conversion_function`

Type: `str`

Internal name of conversion function used.

#### `scale`

`unit_conversion_descriptor.scale`

Type: `float`

Scale factor used in conversion, if applicable.

#### `resolution` (optional)

`unit_conversion_descriptor.resolution`

Type: `Optional[int]`

Microstep resolution used in conversion, if applicable.

#### `decimal_places`

`unit_conversion_descriptor.decimal_places`

Type: `int`

Number of decimal places the device uses for the native representation of this setting or command argument.
