is_event_observable¶
-
astroplan.is_event_observable(constraints, observer, target, times=None, times_ingress_egress=None)[source]¶ Determines if the
targetis observable at each time intimes, given constraints inconstraintsfor a particularobserver.Parameters: constraints : list or
ConstraintObservational constraint(s)
observer :
ObserverThe observer who has constraints
constraintstarget : {list,
SkyCoord,FixedTarget}Target
times :
Time(optional)Array of mid-event times on which to test the constraints
times_ingress_egress :
Time(optional)Array of ingress and egress times for
Nevents, with shape (N, 2).Returns: event_observable :
ndarrayArray of booleans of same length as
timesfor whether or not the target is ever observable at each time, given the constraints.