FilterLoadedBasisFunction

class rubin_sim.scheduler.basis_functions.FilterLoadedBasisFunction(filternames='r')

Bases: BaseBasisFunction

Check that the filter(s) needed are loaded

Parameters:
filternamesstr or list of str

The filternames that need to be mounted to execute.

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.