diff --git a/config/comCamSim/calibrate.py b/config/comCamSim/calibrate.py index 87e32c591..aa3788ce7 100644 --- a/config/comCamSim/calibrate.py +++ b/config/comCamSim/calibrate.py @@ -49,3 +49,6 @@ config.photoCal.match.referenceSelection.magLimit.fluxField = "lsst_r_flux" config.photoCal.match.referenceSelection.magLimit.minimum = 14.0 config.photoCal.match.referenceSelection.magLimit.maximum = 22.0 + +# Exposure summary stats +config.computeSummaryStats.load(os.path.join(configDir, "computeExposureSummaryStats.py")) diff --git a/config/comCamSim/calibrateImage.py b/config/comCamSim/calibrateImage.py index 497b6fc61..077106ef8 100644 --- a/config/comCamSim/calibrateImage.py +++ b/config/comCamSim/calibrateImage.py @@ -28,3 +28,6 @@ config.photometry.match.referenceSelection.magLimit.fluxField = "lsst_r_flux" config.photometry.match.referenceSelection.magLimit.minimum = 14.0 config.photometry.match.referenceSelection.magLimit.maximum = 22.0 + +# Exposure summary stats +config.compute_summary_stats.load(os.path.join(config_dir, "computeExposureSummaryStats.py")) diff --git a/config/comCamSim/computeExposureSummaryStats.py b/config/comCamSim/computeExposureSummaryStats.py new file mode 100644 index 000000000..b722d821a --- /dev/null +++ b/config/comCamSim/computeExposureSummaryStats.py @@ -0,0 +1,26 @@ +import os.path + +config_dir = os.path.dirname(__file__) + +# Fiducial values come from a set of 4334 visits generated in: +# repo='/repo/ops-rehearsal-3-prep' +# collection='u/homer/w_2024_10/DM-43228' +# Plots, including the median values used here, can be found on JIRA ticket DM-42747 + +config.fiducialPsfSigma = { + 'g': 1.72, + 'r': 1.60, + 'i': 1.57, +} + +config.fiducialSkyBackground = { + 'g': 9.34, + 'r': 19.58, + 'i': 35.97, +} + +config.fiducialZeroPoint = { + 'g': 27.68, + 'r': 27.56, + 'i': 27.40, +} diff --git a/config/comCamSim/updateVisitSummary.py b/config/comCamSim/updateVisitSummary.py new file mode 100644 index 000000000..c5273542c --- /dev/null +++ b/config/comCamSim/updateVisitSummary.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +import os.path + +ObsConfigDir = os.path.dirname(__file__) + +config.compute_summary_stats.load(os.path.join(ObsConfigDir, "computeExposureSummaryStats.py"))