GroupPairerConfig#

class lsst.ts.wep.task.GroupPairerConfig(*args, **kw)#

Bases: ExposurePairerConfig

Attributes Summary

doOverrideSeparation

Whether to override expected intra-focal to focal separation (bool, default False)

forceUniquePairs

If True, force each extra exposure to be paired with a unique intra exposure.

groupingThreshold

Threshold for assigning visit to intra/extra/focal group as a fraction of the expected intra-focal to focal separation.

ignoreThresholds

If True, ignore time, pointing, and rotation thresholds.

overrideSeparation

Expected extra-focal to focal separation (mm).

pointingThreshold

Maximum pointing difference between paired intra- and extra-focal exposures (arcsec) (float, default 60)

rotationThreshold

Maximum rotator angle difference between paired intra- and extra-focal exposures (deg) (float, default 1.0)

timeThreshold

Maximum time difference between paired intra- and extra-focal exposures (s) (float, default 300)

Methods Summary

setDefaults()

Subclass hook for computing defaults.

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

doOverrideSeparation: pexConfig.Field#

Whether to override expected intra-focal to focal separation (bool, default False)

forceUniquePairs: pexConfig.Field#

If True, force each extra exposure to be paired with a unique intra exposure. (bool, default True)

groupingThreshold: pexConfig.Field#

Threshold for assigning visit to intra/extra/focal group as a fraction of the expected intra-focal to focal separation. (float, default 0.1)

ignoreThresholds: pexConfig.Field#

If True, ignore time, pointing, and rotation thresholds. Useful when grouping by exposure.group (bool, default False)

overrideSeparation: pexConfig.Field#

Expected extra-focal to focal separation (mm). Note that this is signed such that a positive value means an extra-focal exposure has a greater focusZ value than an intra-focal exposure. (float, default 1.5)

pointingThreshold: pexConfig.Field#

Maximum pointing difference between paired intra- and extra-focal exposures (arcsec) (float, default 60)

rotationThreshold: pexConfig.Field#

Maximum rotator angle difference between paired intra- and extra-focal exposures (deg) (float, default 1.0)

timeThreshold: pexConfig.Field#

Maximum time difference between paired intra- and extra-focal exposures (s) (float, default 300)

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

Return type:

None

Notes

Derived Config classes that must compute defaults rather than using the Field instances’s defaults should do so here. To correctly use inherited defaults, implementations of setDefaults must call their base class’s setDefaults.

validate()#

Validate the Config, raising an exception if invalid.

Raises:

lsst.pex.config.FieldValidationError – Raised if verification fails.

Return type:

None

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.