diff --git a/config/comCam/analysisToolsPhotometricCatalogMatch.py b/config/comCam/analysisToolsPhotometricCatalogMatch.py index 89c3aa46c..a73d19032 100644 --- a/config/comCam/analysisToolsPhotometricCatalogMatch.py +++ b/config/comCam/analysisToolsPhotometricCatalogMatch.py @@ -6,4 +6,4 @@ config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, "filterMap.py")) config.referenceCatalogLoader.doApplyColorTerms = False -config.connections.refCatalog = "atlas_refcat2_20220201" +config.connections.refCatalog = "the_monster_20240904" diff --git a/config/comCam/analysisToolsPhotometricCatalogMatchVisit.py b/config/comCam/analysisToolsPhotometricCatalogMatchVisit.py index 20be187a0..f878b61b3 100644 --- a/config/comCam/analysisToolsPhotometricCatalogMatchVisit.py +++ b/config/comCam/analysisToolsPhotometricCatalogMatchVisit.py @@ -5,5 +5,5 @@ configDir = os.path.dirname(__file__) config.referenceCatalogLoader.refObjLoader.load(os.path.join(configDir, "filterMap.py")) -config.connections.refCatalog = "atlas_refcat2_20220201" +config.connections.refCatalog = "the_monster_20240904" config.referenceCatalogLoader.doApplyColorTerms = False diff --git a/config/comCam/calibrateImage.py b/config/comCam/calibrateImage.py index ec9c5cdf7..84e8baf34 100644 --- a/config/comCam/calibrateImage.py +++ b/config/comCam/calibrateImage.py @@ -1,20 +1,24 @@ import os -from lsst.meas.algorithms import ColorLimit # Configure the photometry to use atlas_refcat2. +from lsst.meas.algorithms import ColorLimit # Configure the photometry to use the_monster. # Configure the photometry to use atlas_refcat2. config_dir = os.path.dirname(__file__) -config.connections.photometry_ref_cat = "atlas_refcat2_20220201" +config.connections.photometry_ref_cat = "the_monster_20240904" config.photometry_ref_loader.load(os.path.join(config_dir, "filterMap.py")) -config.photometry.match.referenceSelection.magLimit.fluxField = "r_flux" +config.photometry.match.referenceSelection.magLimit.fluxField = "monster_SynthLSST_r_flux" colors = config.photometry.match.referenceSelection.colorLimits -colors["g-r"] = ColorLimit(primary="g_flux", secondary="r_flux", minimum=0.4, maximum=2.0) +colors["g-r"] = ColorLimit( + primary="monster_SynthLSST_g_flux", + secondary="monster_SynthLSST_r_flux", + minimum=0.4, + maximum=2.0 +) + -# TODO: Turn color terms back on when they are available config.photometry.applyColorTerms = False -config.photometry.photoCatName = "atlas_refcat2_20220201" -config.photometry.colorterms.load(os.path.join(config_dir, "colorterms.py")) +config.photometry.photoCatName = "the_monster_20240904" config.compute_summary_stats.load(os.path.join(config_dir, "computeExposureSummaryStats.py")) diff --git a/config/comCam/filterMap.py b/config/comCam/filterMap.py index 698ba77b3..93b52f9a9 100644 --- a/config/comCam/filterMap.py +++ b/config/comCam/filterMap.py @@ -1,19 +1,18 @@ # Mapping of camera filter name: reference catalog filter name -# This file is appropriate for ATLAS Refcat2. +# This file is appropriate for the_monster for source, target in [ # update left hand column with the filter names once we know them ("empty", "white"), - ("u_02", "u"), - ("u_05", "u"), - ("u_06", "u"), - ("g_01", "g"), - ("g_07", "g"), - ("r_03", "r"), - ("i_06", "i"), - ("z_02", "z"), - ("z_03", "z"), - # ATLAS Refcat2 does not have y band. - ("y_04", "z"), + ("u_02", "monster_SynthLSST_u"), + ("u_05", "monster_SynthLSST_u"), + ("u_06", "monster_SynthLSST_u"), + ("g_01", "monster_SynthLSST_g"), + ("g_07", "monster_SynthLSST_g"), + ("r_03", "monster_SynthLSST_r"), + ("i_06", "monster_SynthLSST_i"), + ("z_02", "monster_SynthLSST_z"), + ("z_03", "monster_SynthLSST_z"), + ("y_04", "monster_SynthLSST_y"), ]: config.filterMap[source] = target diff --git a/config/comCam/measureCoaddSources.py b/config/comCam/measureCoaddSources.py index f2a0de8f3..dd59f45a8 100644 --- a/config/comCam/measureCoaddSources.py +++ b/config/comCam/measureCoaddSources.py @@ -3,4 +3,4 @@ import os.path config.match.refObjLoader.load(os.path.join(os.path.dirname(__file__), "filterMap.py")) -config.connections.refCat = "atlas_refcat2_20220201" +config.connections.refCat = "the_monster_20240904" diff --git a/config/latiss/refCatObjectPhotometricAnalysisTask.py b/config/latiss/refCatObjectPhotometricAnalysisTask.py index 7cd22e90b..3bf70cae4 100644 --- a/config/latiss/refCatObjectPhotometricAnalysisTask.py +++ b/config/latiss/refCatObjectPhotometricAnalysisTask.py @@ -5,3 +5,6 @@ objectConfig = TransformObjectCatalogConfig() objectConfig.load(os.path.join(os.path.dirname(__file__), "transformObjectCatalog.py")) config.bands = objectConfig.outputBands + +config.connections.refCatalog = "the_monster_20240904" +config.connections.outputName = "objectTable_tract_the_monster_20240904_match_photom"