SimpleAlgorithm

class lsst.ts.ATDomeTrajectory.SimpleAlgorithm(**kwargs)

Bases: lsst.ts.ATDomeTrajectory.BaseAlgorithm

Simple algorithm to follow the target position from the pointing kernel.

If the difference between the telescope target and dome target azimuth position is larger than the configured maximum, then command dome azimuth position = telescope_target azimuth position. Otherwise don’t move the dome.

Methods Summary

configure(*[, max_delta_azimuth])

Configure the algorithm.

desired_dome_azimuth(dome_target_azimuth, …)

Return a new target dome azimuth if dome movement is needed to avoid vignetting, else None.

Methods Documentation

configure(*, max_delta_azimuth=5)

Configure the algorithm.

Parameters
max_delta_azimuthfloat

Maximum allowed difference between dome commanded azimuth and telescope_target target azimuth.

desired_dome_azimuth(dome_target_azimuth, telescope_target, next_telescope_target=None)

Return a new target dome azimuth if dome movement is needed to avoid vignetting, else None.

Parameters
dome_target_azimuthfloat or None

Dome target azimuth (deg), or None if unknown.

telescope_targetElevationAzimuth

Telescope target elevation and azimuth.

next_telescope_targetElevationAzimuth or None, optional

Next telescope_target target elevation and azimuth, if known, else None. Ignored.

Returns
dome_target_azimuthfloat or None

New desired dome azimuth (deg), or None if no change.