BaseAlgorithm

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

Bases: 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.

desired_dome_elevation(...[, ...])

Compute the desired dome elevation.

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_azimuthlsst.ts.simactuators.path.PathSegment or None

Dome target azimuth, 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_azimuthlsst.ts.simactuators.path.PathSegment or None

New desired dome azimuth, or None if no change.

abstract desired_dome_elevation(dome_target_elevation, telescope_target, next_telescope_target=None)

Compute the desired dome elevation.

Parameters
dome_target_elevationlsst.ts.simactuators.path.PathSegment or None

Dome target elevation, 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_elevationlsst.ts.simactuators.path.PathSegment or None

New desired dome elevation, or None if no change.