|
Wasatch.PY
Python application driver for Wasatch Photonics spectrometers
|
This class encapsulates information about the "ControlObject" settings supported by WasatchDevice hardware classes (FID and SP). More...
Public Member Functions | |
| convert_type (self, setting, value) | |
| get_datatype (self, setting) | |
| get_settings (self) | |
| valid (self, setting) | |
This class encapsulates information about the "ControlObject" settings supported by WasatchDevice hardware classes (FID and SP).
These are traditionally called "settings" when passing ControlObjects from ENLIGHTEN down into Wasatch.PY via "settings queues", but are very different from SpectrometerSettings (actual settings of the spectrometer, vs commands being passed between processes).
We're not actually using this at the moment, but it would be a way to provide some automated data validation and type-checking on callers like wasatch-shell.py
| wasatch.CommandSettings.CommandSettings.convert_type | ( | self, | |
| setting, | |||
| value ) |
| wasatch.CommandSettings.CommandSettings.get_datatype | ( | self, | |
| setting ) |
| wasatch.CommandSettings.CommandSettings.get_settings | ( | self | ) |
| wasatch.CommandSettings.CommandSettings.valid | ( | self, | |
| setting ) |