TimeToScheduledBasisFunction¶
- class rubin_sim.scheduler.basis_functions.TimeToScheduledBasisFunction(time_needed=30.0)¶
Bases:
BaseBasisFunction
Make sure there is enough time before next scheduled observation. Useful if you want to check before starting a long sequence of observations.
- Parameters:
- time_neededfloat (30.)
The time needed to run a survey (mintues).
Methods Summary
check_feasibility
(conditions)If there is logic to decide if something is feasible (e.g., only if moon is down), it can be calculated here.
Methods Documentation
- check_feasibility(conditions)¶
If there is logic to decide if something is feasible (e.g., only if moon is down), it can be calculated here.
Helps prevent full __call__ from being called more than needed.