diff --git a/config/calibrate.py b/config/calibrate.py index f94f450d8..214b40e97 100644 --- a/config/calibrate.py +++ b/config/calibrate.py @@ -33,9 +33,9 @@ colors = config.photoCal.match.referenceSelection.colorLimits colors["g-r"] = ColorLimit(primary="g_flux", secondary="r_flux", minimum=0.4, maximum=2.0) -config.photoCal.applyColorTerms = True +# TODO: Turn color terms back on when they are available +config.photoCal.applyColorTerms = False config.photoCal.photoCatName = "atlas_refcat2_20220201" -config.photoCal.colorterms.load(os.path.join(obsConfigDir, "colorterms.py")) # Activate calibration of measurements: required for aperture corrections config.measurement.load(os.path.join(obsConfigDir, "apertures.py")) diff --git a/config/comCam/calibrateImage.py b/config/comCam/calibrateImage.py index 4fd12c3c6..ec9c5cdf7 100644 --- a/config/comCam/calibrateImage.py +++ b/config/comCam/calibrateImage.py @@ -12,7 +12,8 @@ colors = config.photometry.match.referenceSelection.colorLimits colors["g-r"] = ColorLimit(primary="g_flux", secondary="r_flux", minimum=0.4, maximum=2.0) -config.photometry.applyColorTerms = True +# 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")) diff --git a/config/comCam/colorterms.py b/config/comCam/colorterms.py deleted file mode 100644 index 5f74f30b9..000000000 --- a/config/comCam/colorterms.py +++ /dev/null @@ -1,52 +0,0 @@ -from lsst.pipe.tasks.colorterms import Colorterm, ColortermDict - - -config.data = { - "atlas_refcat2*": ColortermDict(data={ - "SDSSg_65mm~empty": Colorterm( - primary="g", - secondary="r", - c0=-0.09034144345111599, - c1=0.1710923238086337, - c2=-0.038260355621929296, - ), - "SDSSr_65mm~empty": Colorterm( - primary="r", - secondary="i", - c0=0.0073632488906825045, - c1=-0.026620900037027242, - c2=-0.03203533692013322, - ), - "SDSSi_65mm~empty": Colorterm( - primary="i", - secondary="r", - c0=0.016940180565664747, - c1=0.0610018330811135, - c2=-0.0722575356707918, - ), - # empty~i is the same as i~empty. - "empty~SDSSi_65mm": Colorterm( - primary="i", - secondary="r", - c0=0.016940180565664747, - c1=0.0610018330811135, - c2=-0.0722575356707918, - ), - # The following two are blank until we have data to measure them. - "SDSSz_65mm~empty": Colorterm( - primary="z", - secondary="z", - ), - # The ATLAS-REFCAT2 does not have y band, so we use z here as - # a placeholder. - "SDSSy_65mm~empty": Colorterm( - primary="z", - secondary="z", - ), - # empty~y is the same as y~empty. - "empty~SDSSy_65mm": Colorterm( - primary="z", - secondary="z", - ), - }), -} diff --git a/config/lsstCam/calibrateImage.py b/config/lsstCam/calibrateImage.py index cc10a15c9..199db0b10 100644 --- a/config/lsstCam/calibrateImage.py +++ b/config/lsstCam/calibrateImage.py @@ -10,7 +10,8 @@ colors = config.photometry.match.referenceSelection.colorLimits colors["g-r"] = ColorLimit(primary="g_flux", secondary="r_flux", minimum=0.4, maximum=2.0) -config.photometry.applyColorTerms = True +# 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")) diff --git a/config/lsstCam/colorterms.py b/config/lsstCam/colorterms.py deleted file mode 100644 index 5f74f30b9..000000000 --- a/config/lsstCam/colorterms.py +++ /dev/null @@ -1,52 +0,0 @@ -from lsst.pipe.tasks.colorterms import Colorterm, ColortermDict - - -config.data = { - "atlas_refcat2*": ColortermDict(data={ - "SDSSg_65mm~empty": Colorterm( - primary="g", - secondary="r", - c0=-0.09034144345111599, - c1=0.1710923238086337, - c2=-0.038260355621929296, - ), - "SDSSr_65mm~empty": Colorterm( - primary="r", - secondary="i", - c0=0.0073632488906825045, - c1=-0.026620900037027242, - c2=-0.03203533692013322, - ), - "SDSSi_65mm~empty": Colorterm( - primary="i", - secondary="r", - c0=0.016940180565664747, - c1=0.0610018330811135, - c2=-0.0722575356707918, - ), - # empty~i is the same as i~empty. - "empty~SDSSi_65mm": Colorterm( - primary="i", - secondary="r", - c0=0.016940180565664747, - c1=0.0610018330811135, - c2=-0.0722575356707918, - ), - # The following two are blank until we have data to measure them. - "SDSSz_65mm~empty": Colorterm( - primary="z", - secondary="z", - ), - # The ATLAS-REFCAT2 does not have y band, so we use z here as - # a placeholder. - "SDSSy_65mm~empty": Colorterm( - primary="z", - secondary="z", - ), - # empty~y is the same as y~empty. - "empty~SDSSy_65mm": Colorterm( - primary="z", - secondary="z", - ), - }), -}