months_observable¶
-
astroplan.months_observable(constraints, observer, targets, time_grid_resolution=<Quantity 0.5 h>)[source]¶ Determines which month the specified
targetsare observable for a specificobserver, given the suppliedconstriants.Parameters: constraints : list or
ConstraintObservational constraint(s)
observer :
ObserverThe observer who has constraints
constraintstargets : {list,
SkyCoord,FixedTarget}Target or list of targets
time_grid_resolution :
Quantity(optional)If
time_rangeis specified, determine whether constraints are met between test times intime_rangeby checking constraint at linearly-spaced times separated bytime_resolution. Default is 0.5 hours.Returns: observable_months : list
List of sets of unique integers representing each month that a target is observable, one set per target. These integers are 1-based so that January maps to 1, February maps to 2, etc.