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:
- constraintslist 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
Nevents, with shape (N, 2).
- constraintslist or
- Returns:
- event_observable
ndarray Array of booleans of same length as
timesfor whether or not the target is ever observable at each time, given the constraints.
- event_observable