OnceInNightBasisFunction

class rubin_sim.scheduler.basis_functions.OnceInNightBasisFunction(notes=[])

Bases: BaseBasisFunction

Stop observing if something has been executed already in the night

Parameters:
noteslist of str

A list of str to check if any observations with a matching note exist.

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.