BalanceVisits¶
- class rubin_sim.scheduler.basis_functions.BalanceVisits(nobs_reference, note_survey, note_interest, nside=None)¶
Bases:
BaseBasisFunction
Balance visits across multiple surveys.
- Parameters:
- nobs_referenceint
Expected number of observations across all interested surveys.
- note_surveystr
Note value for the current survey.
- note_intereststr
Substring with the name of interested surveys to be accounted.
- nsideint
Healpix map resolution.
Notes
This basis function is designed to balance the reward of a group of surveys, such that the group get a reward boost based on the required collective number of observations.
For example, if you have 3 surveys (e.g. SURVEY_A_REGION_1, SURVEY_A_REGION_2, SURVEY_A_REGION_3), when one of them is observed once (SURVEY_A_REGION_1) they all get a small reward boost proportianal to the collective number of observations (
nobs_reference
). Further observations of SURVEY_A_REGION_1 would now cause the other surveys to gain a reward boost in relative to it.