lsst.sims.ocs.configuration.proposal.sequence module

class lsst.sims.ocs.configuration.proposal.sequence.Sequence[source]

Bases: lsst.pex.config.config.Config

Configuration for a sequence proposal. This includes sequence, sub-sequence and nested sub-sequence proposals.

!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__

proposal_fields()[source]

Return the list of field Ids for this proposal.

Returns:list[int]
setDefaults()[source]

Default specification for a sequence proposal.

set_topic(topic)[source]

Set the information on a DDS topic instance.

Parameters:topic (SALPY_scheduler.scheduler_sequencePropConfigC) – The instance of the DDS topic to set information on.
Returns:SALPY_scheduler.scheduler_sequencePropConfigC – The topic with current information set.
filters

Filter configuration for the proposal.

master_sub_sequences

Set of master sub-sequences.

name

Name for the proposal.

scheduling

Scheduling configuration for the proposal.

sky_constraints

Sky region selection for the proposal.

sky_exclusion

Sky region selection for the proposal.

sky_nightly_bounds

Sky region selection for the proposal.

sky_user_regions

Sky user regions for the proposal as a list of field Ids.

sub_sequences

Set of sub-sequences.