Skip to content

Commit

Permalink
Disable color terms until we have them
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Aug 7, 2024
1 parent fbd1ea6 commit eda7402
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 108 deletions.
4 changes: 2 additions & 2 deletions config/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down
3 changes: 2 additions & 1 deletion config/comCam/calibrateImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
52 changes: 0 additions & 52 deletions config/comCam/colorterms.py

This file was deleted.

3 changes: 2 additions & 1 deletion config/lsstCam/calibrateImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
52 changes: 0 additions & 52 deletions config/lsstCam/colorterms.py

This file was deleted.

0 comments on commit eda7402

Please sign in to comment.