across.tools.visibility.constraints.ecliptic_latitude
Classes
Constraint that avoids observing at low ecliptic latitudes. |
Module Contents
- class EclipticLatitudeConstraint(/, **data)[source]
Bases:
across.tools.visibility.constraints.base.ConstraintABCConstraint that avoids observing at low ecliptic latitudes.
The ecliptic plane contains zodiacal dust that scatters sunlight, creating zodiacal light that can contaminate observations. This constraint ensures observations are conducted at sufficient ecliptic latitude to avoid this background light.
- Parameters:
min_latitude (float) – Minimum ecliptic latitude (degrees) required for observation. Observations closer to the ecliptic plane than this will be constrained.
- __call__(time, ephemeris, coordinate)[source]
Checks if the coordinate is too close to the ecliptic plane.
- __call__(time, ephemeris, coordinate)[source]
Check if the coordinate is too close to the ecliptic plane.
- Parameters:
time (Time) – The time (not used for ecliptic coordinates).
ephemeris (Ephemeris) – The ephemeris (not used for ecliptic coordinates).
coordinate (SkyCoord) – The coordinate to check.
- Returns:
Boolean array where True indicates the coordinate violates the constraint (is too close to the ecliptic plane).
- Return type:
npt.NDArray[np.bool_]