MoonSeparationConstraint#
- class astroplan.MoonSeparationConstraint(min=None, max=None, ephemeris=None)[source]#
Bases:
ConstraintConstrain the distance between the Earth’s moon and some targets.
- Parameters:
- min
QuantityorNone(optional) Minimum acceptable separation between moon and target (inclusive).
Noneindicates no limit.- max
QuantityorNone(optional) Maximum acceptable separation between moon and target (inclusive).
Noneindicates no limit.- ephemerisstr, 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).
- min
Methods Summary
compute_constraint(times, observer, targets)Actually do the real work of computing the constraint.
Methods Documentation