lsst.sims.ocs.configuration.proposal.sequence_scheduling module

class lsst.sims.ocs.configuration.proposal.sequence_scheduling.SequenceScheduling[source]

Bases: lsst.sims.ocs.configuration.proposal.scheduling.Scheduling

Configuration for a Sequence proposal’s scheduling needs.

!Allocate a new Config object.

In order to ensure that all Config object are always in a proper state when handed to users or to derived Config classes, some attributes are handled at allocation time rather than at initialization

This ensures that even if a derived Config class implements __init__, the author does not need to be concerned about when or even if he should call the base Config.__init__

setDefaults()[source]

Default specification for scheduling information.

validate()[source]

Validate configuration parameters.

accept_consecutive_visits

Flag to determine if consecutive visits are accepted.

accept_serendipity

Flag to determine if observations other than proposal’s top target are accepted.

airmass_bonus

Bonus to apply to fields giving precedence to low arimass ones. Bonus runs from 0 to 1.

hour_angle_bonus

Bonus to apply to fields giving precedence to fields near the meridian. Bonus runs from 0 to 1.

hour_angle_max

Maximum hour angle (units=hours) for the bonus factor calculation. Hour angles larger will cause the bonus to be negative. Range is 0.1 to 12.

max_num_targets

The maximum number of targets the proposal will propose.

max_visits_goal

The maximum number of visits requested for the proposal over the lifetime of the survey. This effects the time-balancing for the proposal, but does not prevent more visits from being taken.

restart_complete_sequences

Flag to restart sequences that were already completed.

restart_lost_sequences

Flag to restart sequences that were lost due to observational constraints.