GroupPairerConfig#
- class lsst.ts.wep.task.GroupPairerConfig(*args, **kw)#
Bases:
ExposurePairerConfigAttributes Summary
Whether to override expected intra-focal to focal separation (
bool, defaultFalse)If True, force each extra exposure to be paired with a unique intra exposure.
Threshold for assigning visit to intra/extra/focal group as a fraction of the expected intra-focal to focal separation.
If True, ignore time, pointing, and rotation thresholds.
Expected extra-focal to focal separation (mm).
Maximum pointing difference between paired intra- and extra-focal exposures (arcsec) (
float, default60)Maximum rotator angle difference between paired intra- and extra-focal exposures (deg) (
float, default1.0)Maximum time difference between paired intra- and extra-focal exposures (s) (
float, default300)Methods Summary
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, defaultFalse)
- forceUniquePairs: pexConfig.Field#
If True, force each extra exposure to be paired with a unique intra exposure. (
bool, defaultTrue)
- groupingThreshold: pexConfig.Field#
Threshold for assigning visit to intra/extra/focal group as a fraction of the expected intra-focal to focal separation. (
float, default0.1)
- ignoreThresholds: pexConfig.Field#
If True, ignore time, pointing, and rotation thresholds. Useful when grouping by exposure.group (
bool, defaultFalse)
- 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, default1.5)
- pointingThreshold: pexConfig.Field#
Maximum pointing difference between paired intra- and extra-focal exposures (arcsec) (
float, default60)
- rotationThreshold: pexConfig.Field#
Maximum rotator angle difference between paired intra- and extra-focal exposures (deg) (
float, default1.0)
- timeThreshold: pexConfig.Field#
Maximum time difference between paired intra- and extra-focal exposures (s) (
float, default300)
Methods Documentation
- setDefaults()#
Subclass hook for computing defaults.
- Return type:
Notes
Derived
Configclasses that must compute defaults rather than using theFieldinstances’s defaults should do so here. To correctly use inherited defaults, implementations ofsetDefaultsmust call their base class’ssetDefaults.
- validate()#
Validate the Config, raising an exception if invalid.
- Raises:
lsst.pex.config.FieldValidationError – Raised if verification fails.
- Return type:
Notes
The base class implementation performs type checks on all fields by calling their
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.