Skip to content

Commit

Permalink
Add new configuration to pre-cut high psfFwhm visits from the fgcm mo…
Browse files Browse the repository at this point in the history
…del.
  • Loading branch information
erykoff committed Dec 5, 2024
1 parent 1a96800 commit 70cf000
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/lsst/fgcmcal/fgcmFitCycle.py
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,14 @@ class FgcmFitCycleConfig(pipeBase.PipelineTaskConfig,
dtype=float,
default=-0.25,
)
expFwhmCutDict = pexConfig.DictField(
doc=("Per-band specification on maximum exposure FWHM (arcseconds) that will "
"be considered for the model fit. Exposures larger than this cut will "
"only be ``recovered`` from measurements of good stars."),
keytype=str,
itemtype=float,
default={},
)
expGrayPhotometricCutDict = pexConfig.DictField(
doc=("Per-band specification on maximum (negative) achromatic exposure residual "
"('gray term') for a visit to be considered photometric. Must have one "
Expand Down
1 change: 1 addition & 0 deletions python/lsst/fgcmcal/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def makeConfigDict(config, log, camera, maxIter,
'minStarPerExp': config.minStarPerExp,
'minExpPerNight': config.minExpPerNight,
'expGrayInitialCut': config.expGrayInitialCut,
'expFwhmCutDict': dict(config.expFwhmCutDict),
'expGrayPhotometricCutDict': dict(config.expGrayPhotometricCutDict),
'expGrayHighCutDict': dict(config.expGrayHighCutDict),
'expGrayRecoverCut': config.expGrayRecoverCut,
Expand Down

0 comments on commit 70cf000

Please sign in to comment.