From 39bbd258b890387735d35b52189f225d9618eeb6 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Wed, 30 Sep 2026 10:41:33 +0200 Subject: [PATCH 1/5] fix(CFHTLS): correct i-band effective_wavelength, z-band zeropoint, and psf_fwhm values - effective_wavelength i: 716.766 -> 761.766 (digit transposition) - zeropoint z: 25.05 -> 25.02 (align with CFHT Megacam page) - psf_fwhm: replace figure-derived values with T0007 Table 4 band means u 0.81->0.85, g 0.84->0.78, r 0.73->0.71, i 0.66->0.64, z 0.66->0.68 --- surveycodex/data/CFHTLS.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/surveycodex/data/CFHTLS.yaml b/surveycodex/data/CFHTLS.yaml index a1b7ec0..f36884a 100644 --- a/surveycodex/data/CFHTLS.yaml +++ b/surveycodex/data/CFHTLS.yaml @@ -11,35 +11,35 @@ filters: sky_brightness: 21.20 full_exposure_time: 3000 zeropoint: 25.78 - psf_fwhm: 0.81 + psf_fwhm: 0.85 effective_wavelength: 382.329 g: name: "g" sky_brightness: 21.30 full_exposure_time: 2500 zeropoint: 27.11 - psf_fwhm: 0.84 + psf_fwhm: 0.78 effective_wavelength: 487.737 r: name: "r" sky_brightness: 20.80 full_exposure_time: 2000 zeropoint: 26.74 - psf_fwhm: 0.73 + psf_fwhm: 0.71 effective_wavelength: 623.062 i: name: "i" sky_brightness: 20.30 full_exposure_time: 4305 zeropoint: 26.22 - psf_fwhm: 0.66 - effective_wavelength: 716.766 + psf_fwhm: 0.64 + effective_wavelength: 761.766 z: name: "z" sky_brightness: 19.40 full_exposure_time: 3600 - zeropoint: 25.05 - psf_fwhm: 0.66 + zeropoint: 25.02 + psf_fwhm: 0.68 effective_wavelength: 882.798 references: pixel_scale: @@ -68,7 +68,7 @@ references: comment: "" psf_fwhm: link: "https://www.cfht.hawaii.edu/Science/CFHTLS/T0007" - comment: "roughly taken from figure 25" + comment: "Table 4 band means" effective_wavelength: link: "https://cosmos.astro.caltech.edu/page/filterset" comment: "" From a2c1046ddd9efdcaea9881ea4d905cf7dbbe4282 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Wed, 30 Sep 2026 10:41:34 +0200 Subject: [PATCH 2/5] fix(COSMOS): add sky_brightness reference and clarify gain comment - sky_brightness: add GalSim docs as reference (was empty, violating AGENTS.md) - gain: refine comment to note observations obtained with gain of 1 (confirmed from Koekemoer 2007, section 2.1) --- surveycodex/data/COSMOS.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/surveycodex/data/COSMOS.yaml b/surveycodex/data/COSMOS.yaml index bcb9588..fca7df9 100644 --- a/surveycodex/data/COSMOS.yaml +++ b/surveycodex/data/COSMOS.yaml @@ -19,7 +19,7 @@ references: comment: "See section 4" gain: link: "https://iopscience.iop.org/article/10.1086/520086" - comment: "See section 2.1" + comment: "See section 2.1 — observations obtained with gain of 1" mirror_diameter: link: "https://arxiv.org/abs/1203.0002" comment: "(v1) See section 4 table 1" @@ -30,8 +30,8 @@ references: link: "" comment: "Space telescope" sky_brightness: - link: "" - comment: "" + link: "https://galsim-developers.github.io/GalSim/_build/html/real_gal.html" + comment: "Standard HST/ACS F814W zodiacal sky background used in GalSim COSMOS simulations" full_exposure_time: link: "https://iopscience.iop.org/article/10.1086/520086" comment: "See section 2.2" From 96a73677e301f4211cd29e9093edaef9ff4cd342 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Wed, 30 Sep 2026 10:41:36 +0200 Subject: [PATCH 3/5] fix(LSST): update zeropoints to match speclite and fix gain reference URL - zeropoints: u/g/r/i/z/y updated to match speclite lsst2016 computation (all were ~0.03-0.04 mag lower than current speclite output) - gain reference: replace broken imSim stamp.py#L416 URL with readout.py (gain is now per-amplifier from camera model; 1.0 is the e-image convention) --- surveycodex/data/LSST.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/surveycodex/data/LSST.yaml b/surveycodex/data/LSST.yaml index a5691e0..30e6dda 100644 --- a/surveycodex/data/LSST.yaml +++ b/surveycodex/data/LSST.yaml @@ -10,42 +10,42 @@ filters: name: "u" sky_brightness: 22.99 full_exposure_time: 1680 - zeropoint: 26.40 + zeropoint: 26.44 psf_fwhm: 0.90 effective_wavelength: 368.141 g: name: "g" sky_brightness: 22.26 full_exposure_time: 2400 - zeropoint: 28.26 + zeropoint: 28.29 psf_fwhm: 0.86 effective_wavelength: 486.412 r: name: "r" sky_brightness: 21.20 full_exposure_time: 5520 - zeropoint: 28.10 + zeropoint: 28.13 psf_fwhm: 0.81 effective_wavelength: 624.976 i: name: "i" sky_brightness: 20.48 full_exposure_time: 5520 - zeropoint: 27.78 + zeropoint: 27.81 psf_fwhm: 0.79 effective_wavelength: 756.469 z: name: "z" sky_brightness: 19.60 full_exposure_time: 4800 - zeropoint: 27.39 + zeropoint: 27.42 psf_fwhm: 0.77 effective_wavelength: 870.164 y: name: "y" sky_brightness: 18.61 full_exposure_time: 4800 - zeropoint: 26.56 + zeropoint: 26.59 psf_fwhm: 0.76 effective_wavelength: 972.202 references: @@ -53,8 +53,8 @@ references: link: "https://www.lsst.org/about/camera/features" comment: "See Technical details." gain: - link: "https://github.com/LSSTDESC/imSim/blob/main/imsim/stamp.py#L416" - comment: "" + link: "https://github.com/LSSTDESC/imSim/blob/main/imsim/readout.py" + comment: "In imSim, the e-image is in electrons and gain is applied per-amplifier from the camera model during readout. A gain of 1.0 is the simulation convention for the e-image." mirror_diameter: link: "https://www.lsst.org/about/tel-site/optical_design" comment: "" From b05d204c679bdab3db6785054c7db14f11cc8450 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Wed, 30 Sep 2026 10:41:37 +0200 Subject: [PATCH 4/5] fix(DES): clarify zeropoint_airmass reference comment - zeropoint_airmass: keep 1.3 (confirmed correct per speclite decam2014 convention), add explanatory comment referencing Ting Li's airmass --- surveycodex/data/DES.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surveycodex/data/DES.yaml b/surveycodex/data/DES.yaml index bc2a97b..3e0b021 100644 --- a/surveycodex/data/DES.yaml +++ b/surveycodex/data/DES.yaml @@ -49,7 +49,7 @@ references: comment: "disk of 1.651m - obscuration is 1.651^2/3.934^2 which returns the right effective area" zeropoint_airmass: link: "https://speclite.readthedocs.io/en/latest/filters.html#decam-2014-filters" - comment: "" + comment: "decam2014 filters use a reference atmosphere with airmass 1.3 (Ting Li)" sky_brightness: link: "https://arxiv.org/abs/1801.03181" comment: "(v3) See table 1" From f6ef550ba2657ed2c9339dd1cdcf8c3d98661dd4 Mon Sep 17 00:00:00 2001 From: Alexandre Boucaud Date: Wed, 30 Sep 2026 10:41:39 +0200 Subject: [PATCH 5/5] fix(HSC,Euclid): fix zeropoint rounding and update HSC sky_brightness reference - Euclid VIS zeropoint: 25.91 -> 25.92 (speclite rounding) - HSC y-band zeropoint: 27.33 -> 27.34 (speclite rounding) - HSC sky_brightness: replace dead Suprime-Cam URL with Wayback Machine archive, add comment noting values are Suprime-Cam used as approximation --- surveycodex/data/Euclid_VIS.yaml | 2 +- surveycodex/data/HSC.yaml | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/surveycodex/data/Euclid_VIS.yaml b/surveycodex/data/Euclid_VIS.yaml index 7540c85..7027c20 100644 --- a/surveycodex/data/Euclid_VIS.yaml +++ b/surveycodex/data/Euclid_VIS.yaml @@ -10,7 +10,7 @@ filters: name: "IE" sky_brightness: 22.3203 full_exposure_time: 565 - zeropoint: 25.91 + zeropoint: 25.92 psf_fwhm: 0.17 effective_wavelength: 750.637 references: diff --git a/surveycodex/data/HSC.yaml b/surveycodex/data/HSC.yaml index f916771..cc34088 100644 --- a/surveycodex/data/HSC.yaml +++ b/surveycodex/data/HSC.yaml @@ -38,7 +38,7 @@ filters: name: "y" sky_brightness: 17.9 full_exposure_time: 1200 - zeropoint: 27.33 + zeropoint: 27.34 psf_fwhm: 0.68 effective_wavelength: 978.695 references: @@ -58,8 +58,8 @@ references: link: "https://speclite.readthedocs.io/en/latest/filters.html#hsc-filters" comment: "" sky_brightness: - link: "https://www.naoj.org/Observing/Instruments/SCam/exptime.html" - comment: "" + link: "https://web.archive.org/web/20211206142259/https://www.naoj.org/Observing/Instruments/SCam/exptime.html" + comment: "Suprime-Cam values used as approximation for HSC (archived page)" full_exposure_time: link: "https://arxiv.org/abs/2108.13045" comment: "(v1) See \"Wide\" in table 1" @@ -72,11 +72,3 @@ references: effective_wavelength: link: "https://speclite.readthedocs.io/en/latest/filters.html#hsc-filters" comment: "computed with speclite – see scripts/check_effective_wavelength.py" - -# Notes -# ----- -# The reference link for sky_brightness for Suprime-Cam, should be approximately okay. -# Here is the updated version for HSC as of July 2021 -# https://www.subarutelescope.org/Observing/Instruments/HSC/hsc_etc_report.html. -# We could update the numbers to this version, although we need to -# convert the unit from ADU/sec to mag/arcsec^2.