LongGapSurvey

class rubin_sim.scheduler.surveys.LongGapSurvey(blob_survey, scripted_survey, gap_range=[2, 10], long_name='long', scripted_tol=2.0, alt_min=20, alt_max=80.0, ha_min=24, ha_max=0.0, flush_time=2.0, dist_tol=1.0, block_length=33.0, reverse=True, seed=42, night_max=50000, avoid_zenith=True, hour_step=0.5, survey_name='')

Bases: BaseSurvey

Parameters:
blob_surveyxxx

A survey object that we will want to take repeat measurments of sometime later in the evening

scripted_surveyxxx

A scripted survey object that will hold the

gap rangelist of 2 floats

The desired gap range (hours)

long_namestr

The string to put in the observation ‘note’ for the scripted observations

scripted_tolfloat

The tolerance for when scripted observations can execute (hours)

after_meridianbool (False)

If True, force the scripted obsrevations to happen after they pass through the meridian. This can help make sure we don’t hit the zenith exclusion zone.

hour_stepfloat (0.5)

The amount of time to step scheduled observations forward if they could try to execute in the zenith avoidance area (hours). Only used if avoid_zenith is True.

ha_min(_max)float (0,24)

Trying to set so they don’t acctually get used.

Methods Summary

add_observation(observation, **kwargs)

calc_reward_function(conditions)

Parameters:

generate_observations(conditions)

generate_observations_rough(conditions)

get_scheduled_obs()

make_reward_df(conditions)

Create a pandas.DataFrame describing the reward from the survey.

Methods Documentation

add_observation(observation, **kwargs)
calc_reward_function(conditions)
Parameters:
conditionsrubin_sim.scheduler.features.Conditions object
Returns:
rewardfloat (or array)
generate_observations(conditions)
generate_observations_rough(conditions)
get_scheduled_obs()
make_reward_df(conditions)

Create a pandas.DataFrame describing the reward from the survey.

Parameters:
conditionsrubin_sim.scheduler.features.Conditions

Conditions for which rewards are to be returned

Returns:
reward_dfpandas.DataFrame

A table of surveys listing the rewards.