API Reference v9.2.0

UnitConversionDescriptordata 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

p

dimension

unit_conversion_descriptor.dimension
str Name of the dimension being converted.
p

conversion_function

unit_conversion_descriptor.conversion_function
str Internal name of conversion function used.
p

scale

unit_conversion_descriptor.scale
float Scale factor used in conversion, if applicable.
p

resolution

optional
unit_conversion_descriptor.resolution
Optional[int] Microstep resolution used in conversion, if applicable.
p

decimal_places

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