lsst.sims.ocs.configuration.proposal.base_sequence module

class lsst.sims.ocs.configuration.proposal.base_sequence.BaseSequence[source]

Bases: lsst.pex.config.config.Config

Part of the configuration for sub-sequences.

!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 BaseSequence information.

num_events

The number of required events for the sub-sequence.

num_max_missed

The maximum number of events the sub-sequence is allowed to miss.

time_interval

Time (units=seconds) between subsequent visits for a field/filter combination. Must be non-zero if number of grouped visits is greater than one.

time_weight

Weighting factor for scaling the shape of the time window.

time_window_end

Relative time when the window ends for subsequent grouped visits.

time_window_max

Relative time when the window reaches maximum rank for subsequent grouped visits.

time_window_start

Relative time when the window opens for subsequent grouped visits.