DescDdf¶
- class rubin_sim.scheduler.surveys.DescDdf(basis_functions, RA, dec, sequences=None, exptime=30.0, nexp=1, ignore_obs=None, survey_name='DD_DESC', reward_value=101.0, readtime=2.0, filter_change_time=120.0, nside=None, flush_pad=30.0, seed=42, detailers=None)¶
Bases:
BaseSurvey
DDF survey based on Scolnic et al Cadence White Paper.
Methods Summary
calc_reward_function
(conditions)- Parameters:
check_continue
(observation, conditions)This method enables external calls to check if a given observations that belongs to this survey is feasible or not.
generate_observations_rough
(conditions)- Returns:
Methods Documentation
- calc_reward_function(conditions)¶
- Parameters:
- conditionsrubin_sim.scheduler.features.Conditions object
- Returns:
- rewardfloat (or array)
- check_continue(observation, conditions)¶
This method enables external calls to check if a given observations that belongs to this survey is feasible or not. This is called once a sequence has started to make sure it can continue.
XXX–TODO: Need to decide if we want to develope check_continue, or instead hold the sequence in the survey, and be able to check it that way.
- generate_observations_rough(conditions)¶
- Returns:
- one of:
None
A list of observations