MoonSeparationConstraint¶
-
class
astroplan.
MoonSeparationConstraint
(min=None, max=None, ephemeris=None)[source]¶ Bases:
astroplan.Constraint
Constrain the distance between the Earth’s moon and some targets.
Parameters: min :
Quantity
orNone
(optional)Minimum acceptable separation between moon and target (inclusive).
None
indicates no limit.max :
Quantity
orNone
(optional)Maximum acceptable separation between moon and target (inclusive).
None
indicates no limit.ephemeris : str, optional
Ephemeris to use. If not given, use the one set with
astropy.coordinates.solar_system_ephemeris.set
(which is set to ‘builtin’ by default).Methods Summary
compute_constraint
(times, observer, targets)Methods Documentation