Skip to content

Commit

Permalink
Turn on illumination corrections for LSSTComCam.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Feb 26, 2025
1 parent ac4a6d1 commit d567ee7
Show file tree
Hide file tree
Showing 3 changed files with 10 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/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 d567ee7

Please sign in to comment.