TimeInTwilightBasisFunction¶
- class rubin_sim.scheduler.basis_functions.TimeInTwilightBasisFunction(time_needed=5.0)¶
Bases:
BaseBasisFunction
Make sure there is some time left in twilight.
- Parameters:
- time_neededfloat (5)
The time needed remaining in twilight (minutes)
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.