Skip to content

Commit

Permalink
IBIS color terms & ranges to use for v3 zpts
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Jun 2, 2024
1 parent 2ef2913 commit 141234b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions py/legacypipe/decam.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def get_ps1_calibrator_color_range(self):
# g-i color range to keep
if self.band == 'N419':
return 0.4, 1.5
if self.band in ['M411', 'M464']:
return 0.2, 2.7
return super().get_ps1_calibrator_color_range()

def colorterm_sdss_to_observed(self, sdssstars, band):
Expand Down
7 changes: 5 additions & 2 deletions py/legacypipe/ps1cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,11 @@ def ps1_to_decam(psmags, band):
# CFHT
CaHK = [0., 2.3],
# IBIS -- from Arjun 2024-05-30
M411 = [0, 0.1164, 1.1036, -0.5814, 0.0817],
M464 = [0, 0.6712, -0.9042, 0.4621, -0.0737],
#M411 = [0, 0.1164, 1.1036, -0.5814, 0.0817],
#M464 = [0, 0.6712, -0.9042, 0.4621, -0.0737],
# 2024-06-02
M411 = [0., -0.1761, 1.5862,-0.8962, 0.1526],
M464 = [0., 0.3244,-0.5258, 0.3082,-0.0524],
)[band]

# Most are with respect to g-i, some are g-r...
Expand Down
3 changes: 3 additions & 0 deletions py/legacypipe/survey.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,9 @@ def sdss_rgb(imgs, bands, scales=None, m=0.03, Q=20, mnmx=None, clip=True):
N673 = (1, 3.4 * rgb_stretch_factor),
# Merian
N540 = (2, 6.0 * rgb_stretch_factor),
# IBIS
M411 = (2, 6.0 * rgb_stretch_factor),
M464 = (2, 6.0 * rgb_stretch_factor),
# HSC
r2 = (1, 3.4 * rgb_stretch_factor),
i2 = (0, 3.0 * rgb_stretch_factor),
Expand Down

0 comments on commit 141234b

Please sign in to comment.