CameraExposure

class lsst.ts.observatory.control.CameraExposure(exp_time: float, shutter: bool, image_type: str, group_id: str, n: int, n_snaps: int, n_shift: Optional[int], row_shift: Optional[int], test_type: Optional[str], reason: Optional[str], program: Optional[str], sensors: Optional[str], note: Optional[str])

Bases: object

Store the parameters that define an exposure.

Methods Summary

get_key_value_map()

Parse inputs into a valid key-value string for the cameras.

get_n_shift()

Return valid n_shift.

get_row_shift()

Return valid row_shift.

get_stutter_delay()

Return the stutter image delay.

is_stutter()

Check if image is stutter.

Methods Documentation

get_key_value_map() str

Parse inputs into a valid key-value string for the cameras.

Returns:
key_value_mapstr

Key value map for camera exposure.

get_n_shift() int

Return valid n_shift.

Returns:
int

n_shift if image type is STUTTERED, else 0.

get_row_shift() int

Return valid row_shift.

Returns:
int

row_shift if image type is STUTTERED, else 0.

get_stutter_delay() float

Return the stutter image delay.

Returns:
float

The stutter image delay if image type is STUTTERED, else 0

is_stutter() bool

Check if image is stutter.

Returns:
bool

True if image type is STUTTERED.