lsst.sims.ocs.configuration.proposal.time_range module

class lsst.sims.ocs.configuration.proposal.time_range.TimeRange[source]

Bases: lsst.pex.config.config.Config

Configuration for a time range.

!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 time range.

validate()[source]

Validate configuration parameters.

end

The ending time (units=days) for a time-dependent quantity.

start

The starting time (units=days) for a time-dependent quantity.