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 target dome position would vignette the telescope_target at the telescope_target position then specify dome azimuth position = telescope_target azimuth position and zero velocity. 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_azimuth : float

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_azimuth : float or None

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

telescope_target : ElevationAzimuth

Telescope target elevation and azimuth.

next_telescope_target : ElevationAzimuth or None, optional

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

Returns:
dome_target_azimuth : float or None

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