GbdesAstrometricFitConfig#

class lsst.drp.tasks.gbdesAstrometricFit.GbdesAstrometricFitConfig(*args, **kw)#

Bases: PipelineTaskConfig

Configuration for GbdesAstrometricFitTask

Attributes Summary

allowSelfMatches

Allow multiple sources from the same visit to be associated with the same object.

applyRefCatProperMotion

Apply proper motion to shift reference catalog to epoch of observations.

buildCamera

Subtask to build camera from astrometric model.

clipFraction

Minimum fraction of clipped sources that triggers a new fit iteration.

clipThresh

Threshold for clipping outliers in the fit (in standard deviations) (float, default 5.0)

color

The bands to use for calculating color.

connections

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

deviceModel

List of mappings to apply to transform from detector pixels to intermediate frame.

devicePolyOrder

Order of device polynomial model.

excludeNonPMObjects

Exclude reference objects without proper motion/parallax information.

exposureModel

List of mappings to apply to transform from intermediate frame to sky coordinates.

exposurePolyOrder

Order of exposure polynomial model.

fitProperMotion

Fit the proper motions of the objects.

fitReserveFraction

Fraction of objects to reserve from fit for validation.

fitReserveRandomSeed

Set the random seed for selecting data points to reserve from the fit for validation.

healpix

Run using all visits overlapping a healpix pixel with this order instead of a tract.

matchRadius

Matching tolerance between associated objects (arcseconds).

minDetectorFraction

Minimum fraction of detectors with valid WCSs per visit required to include the visit in the fit.

minMatches

Number of matches required to keep a source object.

modelComponents

List of mappings to apply to transform from pixels to sky, in order of their application.Supported options are 'INSTRUMENT/DEVICE' and 'EXPOSURE'.

referenceColor

The color for which DCR is defined as zero.

referenceFilter

Name of filter to load from reference catalog.

referenceSelector

How to down-select the loaded astrometry reference catalog.

referenceSystematicError

Systematic error padding added in quadrature for the reference catalog (marcsec).

saveCameraModel

Save the 'device' part of the model to be used as input in future runs.

saveCameraObject

Build and output an lsst.afw.cameraGeom.Camera object using the fit per-detector model.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

saveModelParams

Save the parameters and covariance of the WCS model.

setRefEpoch

Set the reference epoch to a fixed value in MJD (if None, median observation date is used) (float, default None)

sourceFluxType

Source flux field to use in source selection and to get fluxes from the catalog.

sourceSelector

How to select sources for cross-matching.

systematicError

Systematic error padding added in quadrature for the science catalogs (marcsec).

useColor

Use color information to correct for differential chromatic refraction.

useInputCameraModel

Use a preexisting model for the 'device' part of the model.

Methods Summary

setDefaults()

Subclass hook for computing defaults.

validate()

Validate the Config, raising an exception if invalid.

Attributes Documentation

allowSelfMatches#

Allow multiple sources from the same visit to be associated with the same object. (bool, default False)

applyRefCatProperMotion#

Apply proper motion to shift reference catalog to epoch of observations. (bool, default True)

buildCamera#

Subtask to build camera from astrometric model. (ConfigurableInstance, default <class 'lsst.drp.tasks.build_camera.BuildCameraFromAstrometryConfig'>)

clipFraction#

Minimum fraction of clipped sources that triggers a new fit iteration. (float, default 0.0)

clipThresh#

Threshold for clipping outliers in the fit (in standard deviations) (float, default 5.0)

color#

The bands to use for calculating color. (List, default ['g', 'i'])

connections: pexConfig.ConfigField#

Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.

deviceModel#

List of mappings to apply to transform from detector pixels to intermediate frame. Map namesshould match the format ‘BAND/DEVICE/<map name>’. (List, default ['BAND/DEVICE/poly'])

devicePolyOrder#

Order of device polynomial model. (int, default 4)

excludeNonPMObjects#

Exclude reference objects without proper motion/parallax information. (bool, default True)

exposureModel#

List of mappings to apply to transform from intermediate frame to sky coordinates. Map namesshould match the format ‘EXPOSURE/<map name>’. (List, default ['EXPOSURE/poly'])

exposurePolyOrder#

Order of exposure polynomial model. (int, default 6)

fitProperMotion#

Fit the proper motions of the objects. (bool, default False)

fitReserveFraction#

Fraction of objects to reserve from fit for validation. (float, default 0.2)

fitReserveRandomSeed#

Set the random seed for selecting data points to reserve from the fit for validation. (int, default 1234)

healpix#

Run using all visits overlapping a healpix pixel with this order instead of a tract. Order 3 corresponds to pixels with angular size of 7.329 degrees. (int, default None)

matchRadius#

Matching tolerance between associated objects (arcseconds). (float, default 1.0)

minDetectorFraction#

Minimum fraction of detectors with valid WCSs per visit required to include the visit in the fit. (float, default 0.25)

minMatches#

Number of matches required to keep a source object. (int, default 2)

modelComponents#

List of mappings to apply to transform from pixels to sky, in order of their application.Supported options are ‘INSTRUMENT/DEVICE’ and ‘EXPOSURE’. (List, default ['INSTRUMENT/DEVICE', 'EXPOSURE'])

referenceColor#

The color for which DCR is defined as zero. (float, default 0.61)

referenceFilter#

Name of filter to load from reference catalog. This is a required argument, although the valuesreturned are not used. (str, default 'phot_g_mean')

referenceSelector#

How to down-select the loaded astrometry reference catalog. (ConfigurableInstance, default <class 'lsst.meas.algorithms.sourceSelector.ReferenceSourceSelectorConfig'>)

referenceSystematicError#

Systematic error padding added in quadrature for the reference catalog (marcsec). (float, default 0.0)

saveCameraModel#

Save the ‘device’ part of the model to be used as input in future runs. (bool, default False)

saveCameraObject#

Build and output an lsst.afw.cameraGeom.Camera object using the fit per-detector model. (bool, default False)

saveLogOutput#

Flag to enable/disable saving of log output for a task, enabled by default. (bool, default True)

saveModelParams#

Save the parameters and covariance of the WCS model. Default to false because this can be very large. (bool, default False)

setRefEpoch#

Set the reference epoch to a fixed value in MJD (if None, median observation date is used) (float, default None)

sourceFluxType#

Source flux field to use in source selection and to get fluxes from the catalog. (str, default 'apFlux_12_0')

sourceSelector#

How to select sources for cross-matching. (RegistryInstanceDict, default 'science')

systematicError#

Systematic error padding added in quadrature for the science catalogs (marcsec). The defaultvalue is equivalent to 0.02 pixels for HSC. (float, default 0.0034)

useColor#

Use color information to correct for differential chromatic refraction. (bool, default False)

useInputCameraModel#

Use a preexisting model for the ‘device’ part of the model. When true, the device part of the model will be held fixed in the fitting process. (bool, default False)

Methods Documentation

setDefaults()#

Subclass hook for computing defaults.

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.

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.