The scale and offset parameters off the stage controller need to be changed on the fly by the qt3scan application. Of course, a user of an instance of the PiezoControl class can directly modify the underlying variables. But the proper way to do this to guarantee functionality is to make these accessible as a property and then do checks in the setter function.
The scale and offset parameters off the stage controller need to be changed on the fly by the qt3scan application. Of course, a user of an instance of the PiezoControl class can directly modify the underlying variables. But the proper way to do this to guarantee functionality is to make these accessible as a property and then do checks in the setter function.
https://github.com/qt3uw/nipiezeojenapy/blob/4445aef90ee6cce1bd5b9b99d259fb71699979bd/src/nipiezojenapy/controller.py#L91