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_azimuth
float
Maximum allowed difference between dome commanded azimuth and telescope_target target azimuth.
- max_delta_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
orNone
Dome target azimuth (deg), or
None
if unknown.- telescope_target
ElevationAzimuth
Telescope target elevation and azimuth.
- next_telescope_target
ElevationAzimuth
orNone
, optional Next telescope_target target elevation and azimuth, if known, else
None
. Ignored.
- dome_target_azimuth
- Returns
-