BaseAlgorithm

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

Bases: abc.ABC

Abstract class to handle different dome trajectory algorithms.

Parameters
**kwargsdict of str: value

Configuration. For details see the configure method for the algorithm in question.

Methods Summary

configure(**kwargs)

Configure the algorithm.

desired_dome_azimuth(dome_target_azimuth, …)

Compute the desired dome azimuth.

Methods Documentation

abstract configure(**kwargs)

Configure the algorithm.

abstract desired_dome_azimuth(dome_target_azimuth, telescope_target, next_telescope_target=None)

Compute the desired dome azimuth.

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.

Returns
dome_target_azimuthfloat or None

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