JointcalConfig

class lsst.jointcal.JointcalConfig

Bases: lsst.pex.config.config.Config

Config for JointcalTask

Attributes Summary

allowLineSearch Allow a line search during minimization, if it is reasonable for the model (models with a significant non-linear component, e.g.
astrometryChipOrder Order of the per-chip transform for the constrained astrometry model.
astrometryDoRankUpdate Do the rank update step during minimization (should not change the astrometry fit).
astrometryModel Type of model to fit to astrometry (str, default 'constrained')
astrometryRefObjLoader Reference object loader for astrometric fit (ConfigurableInstance, default <class 'lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsConfig'>)
astrometrySimpleOrder Polynomial order for fitting the simple astrometry model.
astrometryVisitOrder Order of the per-visit transform for the constrained astrometry model.
coaddName Type of coadd, typically deep or goodSeeing (str, default 'deep')
doAstrometry Fit astrometry and write the fitted result.
doPhotometry Fit photometry and write the fitted result.
matchCut Matching radius between fitted and reference stars (arcseconds) (float, default 3.0)
maxAstrometrySteps Maximum number of minimize iterations to take when fitting photometry.
maxPhotometrySteps Maximum number of minimize iterations to take when fitting photometry.
minMeasuredStarsPerCcd Minimum number of measuredStars per ccdImage before printing warnings (int, default 100)
minMeasurements Minimum number of associated measured stars for a fitted star to be included in the fit (int, default 2)
minRefStarsPerCcd Minimum number of measuredStars per ccdImage before printing warnings (int, default 30)
outlierRejectSigma How many sigma to reject outliers at during minimization.
photometryDoRankUpdate Do the rank update step during minimization.
photometryModel Type of model to fit to photometry (str, default 'constrainedMagnitude')
photometryRefObjLoader Reference object loader for photometric fit (ConfigurableInstance, default <class 'lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsConfig'>)
photometryVisitOrder Order of the per-visit polynomial transform for the constrained photometry model.
posError Constant term for error on position (in pixel unit) (float, default 0.02)
sourceFluxType Source flux field to use in source selection and to get fluxes from the catalog.
sourceSelector How to select sources for cross-matching (RegistryInstanceDict, default 'astrometry')
useInputWcs Use the input calexp WCSs to initialize a SimpleAstrometryModel.
writeChi2ContributionFiles Write initial/final fit files containing the contributions to chi2.
writeInitMatrix Write the pre/post-initialization Hessian and gradient to text files, for debugging.The output files will be of the form ‘astrometry_preinit-mat.txt’, in the current directory.Note that these files are the dense versions of the matrix, and so may be very large.

Methods Summary

setDefaults() Derived config classes that must compute defaults rather than using the Field defaults should do so here.

Attributes Documentation

allowLineSearch

Allow a line search during minimization, if it is reasonable for the model (models with a significant non-linear component, e.g. constrainedPhotometry). (bool, default False)

astrometryChipOrder

Order of the per-chip transform for the constrained astrometry model. (int, default 1)

astrometryDoRankUpdate

Do the rank update step during minimization (should not change the astrometry fit). Skipping this can help deal with models that are too non-linear. (bool, default True)

astrometryModel

Type of model to fit to astrometry (str, default 'constrained')

Allowed values:

'simple'
One polynomial per ccd
'constrained'
One polynomial per ccd, and one polynomial per visit
'None'
Field is optional
astrometryRefObjLoader

Reference object loader for astrometric fit (ConfigurableInstance, default <class 'lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsConfig'>)

astrometrySimpleOrder

Polynomial order for fitting the simple astrometry model. (int, default 3)

astrometryVisitOrder

Order of the per-visit transform for the constrained astrometry model. (int, default 5)

coaddName

Type of coadd, typically deep or goodSeeing (str, default 'deep')

doAstrometry

Fit astrometry and write the fitted result. (bool, default True)

doPhotometry

Fit photometry and write the fitted result. (bool, default True)

matchCut

Matching radius between fitted and reference stars (arcseconds) (float, default 3.0)

maxAstrometrySteps

Maximum number of minimize iterations to take when fitting photometry. (int, default 20)

maxPhotometrySteps

Maximum number of minimize iterations to take when fitting photometry. (int, default 20)

minMeasuredStarsPerCcd

Minimum number of measuredStars per ccdImage before printing warnings (int, default 100)

minMeasurements

Minimum number of associated measured stars for a fitted star to be included in the fit (int, default 2)

minRefStarsPerCcd

Minimum number of measuredStars per ccdImage before printing warnings (int, default 30)

outlierRejectSigma

How many sigma to reject outliers at during minimization. (float, default 5.0)

photometryDoRankUpdate

Do the rank update step during minimization. Skipping this can help deal with models that are too non-linear. (bool, default True)

photometryModel

Type of model to fit to photometry (str, default 'constrainedMagnitude')

Allowed values:

'simpleFlux'
One constant zeropoint per ccd and visit, fitting in flux space.
'constrainedFlux'
Constrained zeropoint per ccd, and one polynomial per visit, fitting in flux space.
'simpleMagnitude'
One constant zeropoint per ccd and visit, fitting in magnitude space.
'constrainedMagnitude'
Constrained zeropoint per ccd, and one polynomial per visit, fitting in magnitude space.
'None'
Field is optional
photometryRefObjLoader

Reference object loader for photometric fit (ConfigurableInstance, default <class 'lsst.meas.algorithms.loadIndexedReferenceObjects.LoadIndexedReferenceObjectsConfig'>)

photometryVisitOrder

Order of the per-visit polynomial transform for the constrained photometry model. (int, default 7)

posError

Constant term for error on position (in pixel unit) (float, default 0.02)

sourceFluxType

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

sourceSelector

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

useInputWcs

Use the input calexp WCSs to initialize a SimpleAstrometryModel. (bool, default True)

writeChi2ContributionFiles

Write initial/final fit files containing the contributions to chi2. (bool, default False)

writeInitMatrix

Write the pre/post-initialization Hessian and gradient to text files, for debugging.The output files will be of the form ‘astrometry_preinit-mat.txt’, in the current directory.Note that these files are the dense versions of the matrix, and so may be very large. (bool, default False)

Methods Documentation

setDefaults()

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