Skip to content

Commit

Permalink
Merge pull request #609 from lsst/tickets/DM-49155
Browse files Browse the repository at this point in the history
DM-49155: Turn on illumination corrections for LSSTComCam.
  • Loading branch information
erykoff authored Feb 27, 2025
2 parents ac4a6d1 + f3afeda commit 21c7c11
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/comCam/calibrateImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
config.connections.photometry_ref_cat = "the_monster_20250219"
config.connections.astrometry_ref_cat = "the_monster_20250219"

# Turn on illumination corrections.
config.do_illumination_correction = True
config.psf_subtract_background.doApplyFlatBackgroundRatio = True
config.psf_detection.doApplyFlatBackgroundRatio = True
config.star_detection.doApplyFlatBackgroundRatio = True

config.photometry_ref_loader.load(os.path.join(config_dir, "filterMap.py"))

config.photometry.match.referenceSelection.magLimit.fluxField = "monster_ComCam_r_flux"
Expand Down
2 changes: 2 additions & 0 deletions config/comCam/fgcmBuildFromIsolatedStars.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@
config.fgcmLoadReferenceCatalog.referenceSelector.signalToNoise.fluxField = "monster_ComCam_i_flux"
config.fgcmLoadReferenceCatalog.referenceSelector.signalToNoise.errField = "monster_ComCam_i_fluxErr"
config.fgcmLoadReferenceCatalog.referenceSelector.signalToNoise.minimum = 50.0

config.doApplyWcsJacobian = False
2 changes: 2 additions & 0 deletions config/comCam/fgcmOutputProducts.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
}

config.physicalFilterMap = physical_to_band

config.doComposeWcsJacobian = False
2 changes: 2 additions & 0 deletions config/comCam/makeDirectWarp.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
config.select.maxPsfTraceRadiusDelta = 4.4
config.select.maxPsfApFluxDelta = 1.6
config.select.maxPsfApCorrSigmaScaledDelta = 0.13

config.doApplyFlatBackgroundRatio = True
2 changes: 2 additions & 0 deletions config/comCam/reprocessVisitImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
ObsConfigDir = os.path.dirname(__file__)

config.compute_summary_stats.load(os.path.join(ObsConfigDir, "computeExposureSummaryStats.py"))

config.do_apply_flat_background_ratio = True

0 comments on commit 21c7c11

Please sign in to comment.