evolver.calibration.interface.Transformer.convert_to
- abstract Transformer.convert_to(*args, **kwargs)[source]
Implement and return some transformation upon the input.
The advice for conversion methods used in hardware is as follows:
Hardware should use the convert_to method on an output transformer to convert from raw values (e.g. voltages) to real-world values (e.g. temperature) for sensors.
Hardware should use the convert_from method on an input transformer to convert from real-world values (e.g. temperature) to raw values (e.g. voltages) for effectors.
The inverse transformation of this is
convert_fromand should be used per the advice above.