diff --git a/src/panoptes/pocs/camera/zwo.py b/src/panoptes/pocs/camera/zwo.py index 877d677d4..0b8758a5d 100644 --- a/src/panoptes/pocs/camera/zwo.py +++ b/src/panoptes/pocs/camera/zwo.py @@ -21,6 +21,7 @@ def __init__(self, name='ZWO ASI Camera', gain=None, image_type=None, + bandwidthoverload=None, *args, **kwargs): """ ZWO ASI Camera class @@ -57,6 +58,9 @@ def __init__(self, if gain: self.gain = gain + if bandwidthoverload is not None: + self.bandwidthoverload = bandwidthoverload + if image_type: self.image_type = image_type else: @@ -143,6 +147,15 @@ def is_exposing(self): """ True if an exposure is currently under way, otherwise False """ return Camera._driver.get_exposure_status(self._handle) == "WORKING" + @property + def bandwidthoverload(self): + return self._control_getter('BANDWIDTHOVERLOAD')[0] + + @bandwidthoverload.setter + def bandwidthoverload(self, value): + value = get_quantity_value(value, u.percent) * u.percent + self._control_setter('BANDWIDTHOVERLOAD', value) + # Methods def connect(self):