ComCam#
- class lsst.ts.observatory.control.maintel.ComCam(domain=None, log=None, intended_usage=None, tcs_ready_to_take_data=None)#
Bases:
BaseCameraCommissioning Camera (ComCam).
ComCam encapsulates core functionality from the following CSCs CCCamera, CCHeaderService and CCOODS CSCs.
- Parameters:
Attributes Summary
Camera remote.
Define class usages.
Returns valid usages.
Methods Summary
Get the list of available filters.
Return available instrument setup.
Get the current filter.
List of valid image types accepted by the
take_imgtypemethod.parse_sensors(sensors)Parse input sensors.
setup_filter(filter)Setup the filter for the camera.
setup_instrument(**kwargs)Implements abstract method to setup instrument.
take_spot(exptime[, n, group_id, test_type, ...])Take a series of spot test images.
Attributes Documentation
- camera#
Camera remote.
- usages#
- valid_use_cases#
Returns valid usages.
- Returns:
usages
- Return type:
enum
Methods Documentation
- async get_available_filters()#
Get the list of available filters.
- async get_available_instrument_setup()#
Return available instrument setup. :rtype:
List[str]See also
setup_instrumentSet up instrument.
- async get_current_filter()#
Get the current filter.
- Returns:
The filter in the light path.
- Return type:
- classmethod get_image_types()#
List of valid image types accepted by the
take_imgtypemethod.
- parse_sensors(sensors)#
Parse input sensors.
- async setup_filter(filter)#
Setup the filter for the camera.
- async setup_instrument(**kwargs)#
Implements abstract method to setup instrument.
This method will call
setup_filterto set the camera filter.See also
setup_filterSetup camera filter.
take_biasTake series of bias.
take_darksTake series of darks.
take_flatsTake series of flat-field images.
take_objectTake series of object observations.
take_engtestTake series of engineering test observations.
take_focusTake series of focus images.
take_cwfsTake series of curvature wavefront sensing images.
take_acqTake series of acquisition images.
take_stutteredTake series of stuttered images.
take_indomeTake series of in-dome testing images.
take_cbpTake series of collimated beam projector images.
take_sflatTake series of sky/twilight-flat images.
take_dflatTake series of dark-flat images.
take_spotTake series of spot images.
take_imgtypeTake series of images by image type.
exposeLow level expose method.
- async take_spot(exptime, n=1, group_id=None, test_type=None, reason=None, program=None, sensors=None, note=None, checkpoint=None, **kwargs)#
Take a series of spot test images.
- Parameters:
exptime (
float) – Exposure time for flats.n (
int) – Number of frames to take.group_id (
str) – Optional group id for the data sequence. Will generate a common one for all the data if none is given.test_type (
str) – Optional string to be added to the keyword testType image header.reason (
str, optional) – Reason for the data being taken. This must be a short tag-like string that can be used to disambiguate a set of observations.program (
str, optional) – Name of the program this data belongs to, e.g. WFD, DD, etc.sensors (
str) – A colon delimited list of sensor names to use for the image.note (
str) – A freeform string containing small notes about the image.checkpoint (
coro) – A optional awaitable callback that accepts one string argument that is called before each bias is taken.
- Return type: