LwscsStatus

class lsst.ts.MTDome.LwscsStatus(start_tai)

Bases: lsst.ts.MTDome.mock_llc.base_mock_llc.BaseMockStatus

Represents the status of the Light and Wind Screen Control System in simulation mode.

Parameters:
start_tai: `float`

The TAI time, unix seconds, at the time at which this class is instantiated. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

Methods Summary

crawlEl(velocity, start_tai) Crawl the light and wind screen in the given direction at the given velocity.
determine_status(current_tai) Determine the status of the Lower Level Component and store it in the llc_status dict.
moveEl(position, start_tai) Move the light and wind screen to the given elevation.
stopEl(start_tai) Stop moving the light and wind screen.

Methods Documentation

crawlEl(velocity, start_tai)

Crawl the light and wind screen in the given direction at the given velocity.

Parameters:
velocity: `float`

The velocity (deg/s) at which to crawl. The velocity is not checked against the velocity limits for the light and wind screen.

start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

determine_status(current_tai)

Determine the status of the Lower Level Component and store it in the llc_status dict.

Parameters:
current_tai: `float`

The TAI time, unix seconds, for which the status is requested. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

moveEl(position, start_tai)

Move the light and wind screen to the given elevation.

Parameters:
position: `float`

The position (rad) to move to. 0 means point to the horizon and pi/2 point to the zenith. These limits are not checked.

start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.

stopEl(start_tai)

Stop moving the light and wind screen.

Parameters:
start_tai: `float`

The TAI time, unix seconds, when the command was issued. To model the real dome, this should be the current time. However, for unit tests it can be convenient to use other values.