AltitudeConstraint¶

class
astroplan.
AltitudeConstraint
(min=None, max=None, boolean_constraint=True)[source]¶ Bases:
astroplan.Constraint
Constrain the altitude of the target.
Note
This can misbehave if you try to constrain negative altitudes, as the
AltAz
frame tends to mishandle negative Parameters
 min
Quantity
orNone
Minimum altitude of the target (inclusive).
None
indicates no limit. max
Quantity
orNone
Maximum altitude of the target (inclusive).
None
indicates no limit. boolean_constraintbool
If True, the constraint is treated as a boolean (True for within the limits and False for outside). If False, the constraint returns a float on [0, 1], where 0 is the min altitude and 1 is the max.
 min
Methods Summary
compute_constraint
(times, observer, targets)Actually do the real work of computing the constraint.
Methods Documentation