Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create properties around scale / offset variables. #16

Open
gadamc opened this issue Nov 28, 2023 · 0 comments
Open

Create properties around scale / offset variables. #16

gadamc opened this issue Nov 28, 2023 · 0 comments

Comments

@gadamc
Copy link
Collaborator

gadamc commented Nov 28, 2023

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.

self.scale_microns_per_volt = tuple([scale_microns_per_volt] * 3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant