across.tools.visibility.constraints.bright_star
Classes
Constraint that avoids observing too close to bright stars. |
Module Contents
- class BrightStarConstraint(/, **data)[source]
Bases:
across.tools.visibility.constraints.base.ConstraintABCConstraint that avoids observing too close to bright stars.
Bright stars can cause detector saturation, blooming, or scattered light issues. This constraint ensures observations are conducted at sufficient angular distance from bright stars.
- Parameters:
min_separation (float) – Minimum angular separation (degrees) required from bright stars. Observations closer than this to bright stars will be constrained.
magnitude_limit (float) – Magnitude limit for bright stars to avoid. Stars brighter than this magnitude will be considered for avoidance. Default is 6.0 (naked eye visible).
- __call__(time, ephemeris, coordinate)[source]
Checks if the coordinate is too close to any bright star.
- __call__(time, ephemeris, coordinate)[source]
Check if the coordinate is too close to any bright star.
- Parameters:
time (Time) – The time (not used for star positions).
ephemeris (Ephemeris) – The ephemeris (not used for star positions).
coordinate (SkyCoord) – The coordinate to check.
- Returns:
Boolean array where True indicates the coordinate violates the constraint (is too close to a bright star).
- Return type:
npt.NDArray[np.bool_]