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 in times, given constraints in constraints for a particular observer.

Parameters:
constraintslist or Constraint

Observational constraint(s)

observerObserver

The observer who has constraints constraints

target{list, SkyCoord, FixedTarget}

Target

timesTime (optional)

Array of mid-event times on which to test the constraints

times_ingress_egressTime (optional)

Array of ingress and egress times for N events, with shape (N, 2).

Returns:
event_observablendarray

Array of booleans of same length as times for whether or not the target is ever observable at each time, given the constraints.