observable_windows¶
-
transitforecast.observable_windows(windows, tforecast, forecast, target, site, constraints, weight=1.0)¶ Determine which windows are observable, given constraints.
- Parameters
- windows~astropy.table.Table
A table of the forecasted windows.
- tforecast~numpy.array
The time array for the forecasted transit models.
- forecast~numpy.array
The transit forecast.
- target~astroplan.FixedTarget
A target object.
- site~astroplan.Observer
A site object.
- constraintsiterable
A list of ~astroplan.Constraint objects.
- weightfloat, optional
Relative weight of the scenario. Defaults to 1 if not specified.
- Returns
- obs_windows~astropy.table.Table
A table of the observable windows.