PsfObservationConfig#

class lsst.multiprofit.PsfObservationConfig(*args, **kw)#

Bases: ObservationConfig

Configuration for an lsst.gauss2d.fit.Observation used for PSF fitting.

Attributes Summary

band

The name of the band (str, default 'None')

coordsys

The coordinate system config (CoordinateSystemConfig, default <class 'lsst.multiprofit.observationconfig.CoordinateSystemConfig'>)

n_cols

The number of columns in the image (int)

n_rows

The number of rows in the image (int)

Methods Summary

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

band#

The name of the band (str, default 'None')

coordsys#

The coordinate system config (CoordinateSystemConfig, default <class 'lsst.multiprofit.observationconfig.CoordinateSystemConfig'>)

n_cols#

The number of columns in the image (int)

n_rows#

The number of rows in the image (int)

Methods Documentation

validate() None#

Validate the Config, raising an exception if invalid.

Raises#

lsst.pex.config.FieldValidationError

Raised if verification fails.

Notes#

The base class implementation performs type checks on all fields by calling their validate methods.

Complex single-field validation can be defined by deriving new Field types. For convenience, some derived lsst.pex.config.Field-types (ConfigField and ConfigChoiceField) are defined in lsst.pex.config that handle recursing into subconfigs.

Inter-field relationships should only be checked in derived Config classes after calling this method, and base validation is complete.