VOA
VOA module for qosst-hal.
- class qosst_hal.voa.FakeVOA(_location: Any, **_kwargs)
FakeVOA, to use as a dummy VOA.
- __init__(_location: Any, **_kwargs) None
- Parameters:
_location (Any) – ignored parameters.
- __str__() str
Return str(self).
- close() None
Close the fake hardware (do nothing).
- open() None
Open the fake hardware (do nothing).
- set_value(value: float) None
Set the value.
- Parameters:
value (float) – value to be set.
- value: float
Value of the VOA (no unit, as it’s dummy).
- class qosst_hal.voa.GenericVOA(_location: Any, **_kwargs)
A Generic VOA class.
A VOA class should have the following methods:
set_value: set value for the VOA, in some defined units.
open: open the VOA.
close: close the VOA.
- __init__(_location: Any, **_kwargs) None
All parameters are ignored.
- __str__() str
Return str(self).
- abstract set_value(value: float) None
Set VOA value
- Parameters:
value (float) – VOA value in some predefined unit.