ObservationScheduler#
This is the documentation for the ObservationScheduler module.
GetSchedule#
- tilepy.include.ObservationScheduler.GetSchedule(obspar)[source] [edit on github]
Generates a tiling schedule and visibility plots for a single telescope.
This top level function takes the observation parameters, computes the optimal tiling and creates a dedicated output folder containing the scheduled pointings and optional plots.
- Parameters:
obspar (ObservationParameters) – The set of parameters needed to launch the tiling scheduler.
- Return type:
None
Notes
If the 90% localization area is larger than the configured maximum (
locCut), no schedule is generated.Examples
>>> GetSchedule(obspar)
GetUniversalSchedule#
- tilepy.include.ObservationScheduler.GetUniversalSchedule(obspar)[source] [edit on github]
Generates tiling schedules and visibility plots for multiple telescopes/observatories.
This top-level function takes as input a list of observation parameter sets (one per observatory), computes optimal tilings according to the skymap, and saves the results in output folders. Optionally, it produces ranked pointings and plots if requested in the input parameters.
- Parameters:
obspar (list of ObservationParameters) – List of parameter objects, one for each observatory, defining the scheduling configuration.
- Return type:
None
Notes
The function creates necessary output folders and writes results to disk. If no suitable schedule can be generated for any observatory, no output file is created for that observatory.
Examples
>>> GetUniversalSchedule([obspar1, obspar2])