is_event_observable¶
-
astroplan.
is_event_observable
(constraints, observer, target, times=None, times_ingress_egress=None)[source]¶ Determines if the
target
is observable at each time intimes
, given constraints inconstraints
for a particularobserver
.Parameters: constraints : list or
Constraint
Observational constraint(s)
observer :
Observer
The observer who has constraints
constraints
target : {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
N
events, with shape (N
, 2).Returns: event_observable :
ndarray
Array of booleans of same length as
times
for whether or not the target is ever observable at each time, given the constraints.