across.tools.visibility.constraints.earth_limb
Classes
For a given Earth limb avoidance angle, is a given coordinate inside this |
Module Contents
- class EarthLimbConstraint(/, **data)[source]
Bases:
across.tools.visibility.constraints.base.ConstraintABCFor a given Earth limb avoidance angle, is a given coordinate inside this constraint?
- Parameters:
name – The name of the constraint.
short_name – The short name of the constraint.
min_angle – The minimum angle from the Earth limb that the spacecraft can point.
- __call__(coord, ephemeris, earth_radius_angle=None)[source]
Checks if a given coordinate is inside the constraint.
- __call__(time, ephemeris, coordinate)[source]
Check for a given time, ephemeris and coordinate if positions given are inside the Earth limb constraint. This is done by checking if the separation between the Earth and the spacecraft is less than the Earth’s angular radius plus the minimum angle.
NOTE: Assumes a circular approximation for Earth.
- Parameters:
coordinate (SkyCoord) – The coordinate to check.
time (Time) – The time to check.
ephemeris (Ephemeris) – The ephemeris object.
- Returns:
True if the coordinate is inside the constraint, False otherwise.
- Return type:
bool