panoptes.pocs.camera.simulator package¶
Submodules¶
panoptes.pocs.camera.simulator.ccd module¶
- class panoptes.pocs.camera.simulator.ccd.Camera(name='Simulated SDK camera', driver=<class 'panoptes.pocs.camera.simulator.ccd.SDKDriver'>, target_temperature=<Quantity 0. deg_C>, *args, **kwargs)[source]¶
Bases:
AbstractSDKCamera
,Camera
,ABC
- property cooling_enabled¶
Get current status of the camera’s image sensor cooling system (enabled/disabled).
Note: this only needs to be implemented for cameras which have cooled image sensors, not for those that don’t (e.g. DSLRs).
- property cooling_power¶
Get current power level of the camera’s image sensor cooling system (typically as a percentage of the maximum).
Note: this only needs to be implemented for cameras which have cooled image sensors, not for those that don’t (e.g. DSLRs).
- property target_temperature¶
Get current value of the target temperature for the camera’s image sensor cooling control.
Note: this only needs to be implemented for cameras which have cooled image sensors, not for those that don’t (e.g. DSLRs).
- property temperature¶
Get current temperature of the camera’s image sensor.
Note: this only needs to be implemented for cameras which can provided this information, e.g. those with cooled image sensors.
panoptes.pocs.camera.simulator.dslr module¶
- class panoptes.pocs.camera.simulator.dslr.Camera(name='Simulated Camera', *args, **kwargs)[source]¶
Bases:
AbstractCamera
- property bit_depth¶
ADC bit depth.
- property egain¶
Image sensor gain in e-/ADU as reported by the camera.
- take_observation(observation, headers=None, filename=None, *args, **kwargs)[source]¶
Take an observation
- Gathers various header information, sets the file path, and calls
take_exposure. Also creates a threading.Event object and a threading.Thread object. The Thread calls process_exposure after the exposure had completed and the Event is set once process_exposure finishes.
- Parameters:
observation (Observation) – Object describing the observation
headers (dict or Header, optional) – Header data to be saved along with the file.
filename (str, optional) – pass a filename for the output FITS file to override the default file naming system.
blocking (bool) – If method should wait for observation event to be complete before returning, default False.
**kwargs (dict) – Optional keyword arguments (exptime, dark)
- Returns:
The metadata from the event.
- Return type: