NightModuloBasisFunction

class rubin_sim.scheduler.basis_functions.NightModuloBasisFunction(pattern=None)

Bases: BaseBasisFunction

Only return true on certain nights

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.