Skip to content

Commit 7d5d5a7

Browse files
committed
removed IStatus interface
1 parent 79f26a1 commit 7d5d5a7

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

pyobs_fli/flicamera.py

-20
Original file line numberDiff line numberDiff line change
@@ -222,26 +222,6 @@ def _abort_exposure(self):
222222
self._driver.cancel_exposure()
223223
self._camera_status = ICamera.ExposureStatus.IDLE
224224

225-
def status(self, *args, **kwargs) -> dict:
226-
"""Returns current status of camera."""
227-
228-
# get status from parent
229-
s = super().status()
230-
231-
# add cooling stuff
232-
s['ICooling'] = {
233-
'Enabled': self._temp_setpoint is not None,
234-
'SetPoint': self._temp_setpoint,
235-
'Power': self._driver.get_cooler_power(),
236-
'Temperatures': {
237-
'CCD': self._driver.get_temp(FliTemperature.CCD),
238-
'Base': self._driver.get_temp(FliTemperature.BASE)
239-
}
240-
}
241-
242-
# finished
243-
return s
244-
245225
def get_cooling_status(self, *args, **kwargs) -> (bool, float, float, dict):
246226
"""Returns the current status for the cooling.
247227

0 commit comments

Comments
 (0)