lsst.sims.ocs.configuration.proposal.selection module

class lsst.sims.ocs.configuration.proposal.selection.Selection[source]

Bases: lsst.pex.config.config.Config

Select fields via limits.

!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 a selection.

validate()[source]

Validate configuration parameters.

bounds_limit

Boundary limit (units=degrees) for a sloping envelope selection.

limit_type

Type of coordinate to select.

maximum_limit

Maximum limit (units=degrees) for field selection.

minimum_limit

Minimum limit (units=degrees) for field selection.

lsst.sims.ocs.configuration.proposal.selection.SELECTION_LIMIT_TYPES = ['RA', 'Dec', 'GL', 'GB', 'EL', 'EB', 'GP']

Selection types for sky regions and sky exclusions.

RA
right-ascension
Dec
declination
GL
galactic longitude
GB
galactic latitude
EL
ecliptic longitude
EB
ecliptic latitude
GP
galactic plane