- class rubin_sim.scheduler.basis_functions.StrictFilterBasisFunction(time_lag=10.0, filtername='r', twi_change=-18.0, note_free='DD')¶
Remove the bonus for staying in the same filter if certain conditions are met.
If the moon rises/sets or twilight starts/ends, it makes a lot of sense to consider a filter change. This basis function rewards if it matches the current filter, the moon rises or sets, twilight starts or stops, or there has been a large gap since the last observation.
If there is a gap between observations longer than this, let the filter change (minutes)
The sun altitude to consider twilight starting/ending (degrees)
No penalty for changing filters if the last observation note field includes string. Useful for giving a free filter change after deep drilling sequence