lsst.sims.ocs.configuration.proposal.sky_constraints module

class lsst.sims.ocs.configuration.proposal.sky_constraints.SkyConstraints[source]

Bases: lsst.pex.config.config.Config

Configuration for a proposal’s sky constraints.

!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 sky constarints.

exclude_planets

Flag to use 2 degree exclusion zone around bright planets.

max_airmass

The maximum airmass allowed for any field.

max_cloud

The maximum fraction of clouds allowed for any field.

min_distance_moon

The minimum distance (units=degrees) from the moon a field must be.