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
, default3.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
, default100
)minMeasurements
Minimum number of associated measured stars for a fitted star to be included in the fit ( int
, default2
)minRefStarsPerCcd
Minimum number of measuredStars per ccdImage before printing warnings ( int
, default30
)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
, default0.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
, defaultFalse
)
-
astrometryChipOrder
¶ Order of the per-chip transform for the constrained astrometry model. (
int
, default1
)
-
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
, defaultTrue
)
-
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'>
)
-
astrometryVisitOrder
¶ Order of the per-visit transform for the constrained astrometry model. (
int
, default5
)
-
maxAstrometrySteps
¶ Maximum number of minimize iterations to take when fitting photometry. (
int
, default20
)
-
maxPhotometrySteps
¶ Maximum number of minimize iterations to take when fitting photometry. (
int
, default20
)
-
minMeasuredStarsPerCcd
¶ Minimum number of measuredStars per ccdImage before printing warnings (
int
, default100
)
-
minMeasurements
¶ Minimum number of associated measured stars for a fitted star to be included in the fit (
int
, default2
)
-
minRefStarsPerCcd
¶ Minimum number of measuredStars per ccdImage before printing warnings (
int
, default30
)
-
photometryDoRankUpdate
¶ Do the rank update step during minimization. Skipping this can help deal with models that are too non-linear. (
bool
, defaultTrue
)
-
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
, default7
)
-
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'
)
-
writeChi2ContributionFiles
¶ Write initial/final fit files containing the contributions to chi2. (
bool
, defaultFalse
)
-
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
, defaultFalse
)
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()
-