across.tools.visibility.constraints.galactic_plane
Classes
Constraint that avoids observing too close to the Galactic Plane. |
Module Contents
- class GalacticPlaneConstraint(/, **data)[source]
Bases:
across.tools.visibility.constraints.base.ConstraintABCConstraint that avoids observing too close to the Galactic Plane.
The Galactic Plane contains high densities of stars and dust, making it difficult to observe faint sources. This constraint ensures observations are conducted at sufficient latitude from the galactic equator.
- Parameters:
min_latitude (float) – Minimum galactic latitude (degrees) required for observation. Observations closer to the galactic plane than this will be constrained.
- __call__(time, ephemeris, coordinate)[source]
Checks if the coordinate is too close to the galactic plane.
- __call__(time, ephemeris, coordinate)[source]
Check if the coordinate is too close to the galactic plane.
- Parameters:
time (Time) – The time (not used for galactic coordinates).
ephemeris (Ephemeris) – The ephemeris (not used for galactic coordinates).
coordinate (SkyCoord) – The coordinate to check.
- Returns:
Boolean array where True indicates the coordinate violates the constraint (is too close to the galactic plane).
- Return type:
npt.NDArray[np.bool_]