lsst.sims.ocs.configuration.proposal.scheduling module

class lsst.sims.ocs.configuration.proposal.scheduling.Scheduling[source]

Bases: lsst.pex.config.config.Config

Configuration for a 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.

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.