Skip to content

Commit

Permalink
add 2MASS JHKs filters
Browse files Browse the repository at this point in the history
  • Loading branch information
moustakas committed Aug 4, 2023
1 parent f062e39 commit 4045b2b
Show file tree
Hide file tree
Showing 4 changed files with 330 additions and 2 deletions.
87 changes: 87 additions & 0 deletions speclite/data/filters/twomass-H.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# %ECSV 0.9
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta: !!omap
# - {band_name: H}
# - {description: 'Instrument: 2MASS Cameras in Mt. Hopkins, AZ, and CTIO, Chile
#
# Determined by: Cohen, Wheaton & Megeath (2003), AJ, 126, 1990 with notes:
#
# "Table 1 - 2MASS Isophotal Bandpasses and Fluxes-for-0-magnitude from Cohen et al. (2003)
# Band Lambda (micron) Bandwidth (micron) Fnu - 0 mag (Jy) Flambda - 0 mag (W cm-2 micron-1)
# J 1.235 0.006 0.162 0.001 1594 27.8 3.129E-13 5.464E-15
# H 1.662 0.009 0.251 0.002 1024 20.0 1.133E-13 2.212E-15
# Ks 2.159 0.011 0.262 0.002 666.7 12.6 4.283E-14 8.053E-16
#
# Figures 1, 2, and 3 present the 2MASS J, H and Ks relative spectral
# response curves (RSRs), peak-normalized to unity. These curves are
# derived by Cohen et al. (2003) and are photon-counting RSRs suitable
# for integrating over stellar spectra when using or generating synthetic
# photometry. These RSRs are consistent with the absolute calibration of
# 2MASS given in Table 1 above."
#
# Notes:
# I am not in a position to judge the quality of these curves, but
# have no reason to doubt them. - Michael Blanton 2005-07-06'}
# - {group_name: twomass}
wavelength response
13000.0 0
13150.0 0
13410.0 0
13680.0 0
13970.0 0
14180.0 0
14400.0 3.47222e-08
14620.0 1.91518e-07
14780.0 5.48038e-07
14860.0 1.93136e-06
14930.0 5.83389e-06
15040.0 1.3391e-05
15150.0 2.89241e-05
15280.0 4.49215e-05
15390.0 5.31579e-05
15460.0 5.70569e-05
15510.0 5.87879e-05
15560.0 5.95694e-05
15650.0 5.93802e-05
15720.0 5.55153e-05
15770.0 5.43183e-05
15830.0 5.57549e-05
15920.0 5.76696e-05
15970.0 5.80276e-05
16020.0 5.66542e-05
16130.0 5.74086e-05
16190.0 5.68561e-05
16280.0 5.6769e-05
16330.0 5.65524e-05
16420.0 5.73569e-05
16480.0 5.7591e-05
16570.0 5.91853e-05
16590.0 5.98975e-05
16710.0 5.98444e-05
16840.0 5.67755e-05
17010.0 5.43269e-05
17150.0 5.72653e-05
17270.0 5.74175e-05
17390.0 5.68545e-05
17460.0 5.60825e-05
17510.0 5.52941e-05
17530.0 5.34512e-05
17560.0 5.23349e-05
17640.0 4.77494e-05
17750.0 3.75831e-05
17850.0 1.50924e-05
17900.0 2.5229e-05
17960.0 9.63809e-06
18030.0 5.97338e-06
18100.0 3.90608e-06
18130.0 2.81302e-07
18180.0 1.10011e-06
18280.0 2.18818e-08
18350.0 0
18500.0 5.40541e-09
18710.0 0
18930.0 0
19150.0 0
136 changes: 136 additions & 0 deletions speclite/data/filters/twomass-J.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
# %ECSV 0.9
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta: !!omap
# - {band_name: J}
# - {description: 'Instrument: 2MASS Cameras in Mt. Hopkins, AZ, and CTIO, Chile
#
# Determined by: Cohen, Wheaton & Megeath (2003), AJ, 126, 1990 with notes:
#
# "Table 1 - 2MASS Isophotal Bandpasses and Fluxes-for-0-magnitude from Cohen et al. (2003)
# Band Lambda (micron) Bandwidth (micron) Fnu - 0 mag (Jy) Flambda - 0 mag (W cm-2 micron-1)
# J 1.235 0.006 0.162 0.001 1594 27.8 3.129E-13 5.464E-15
# H 1.662 0.009 0.251 0.002 1024 20.0 1.133E-13 2.212E-15
# Ks 2.159 0.011 0.262 0.002 666.7 12.6 4.283E-14 8.053E-16
#
# Figures 1, 2, and 3 present the 2MASS J, H and Ks relative spectral
# response curves (RSRs), peak-normalized to unity. These curves are
# derived by Cohen et al. (2003) and are photon-counting RSRs suitable
# for integrating over stellar spectra when using or generating synthetic
# photometry. These RSRs are consistent with the absolute calibration of
# 2MASS given in Table 1 above."
#
# Notes:
# I am not in a position to judge the quality of these curves, but
# have no reason to doubt them. - Michael Blanton 2005-07-06'}
# - {group_name: twomass}
wavelength response
10620.0 0
10660.0 4.69043e-08
10700.0 1.86916e-07
10750.0 3.16279e-07
10780.0 6.58627e-07
10820.0 1.46026e-06
10840.0 2.41697e-06
10870.0 3.64305e-06
10890.0 4.80257e-06
10930.0 6.08417e-06
10960.0 6.63321e-06
11020.0 8.41198e-06
11050.0 2.47602e-05
11070.0 3.0804e-05
11090.0 3.23174e-05
11120.0 3.41817e-05
11160.0 2.96326e-05
11170.0 2.14414e-05
11200.0 2.1375e-05
11230.0 2.52271e-05
11280.0 2.28901e-05
11290.0 2.22763e-05
11320.0 4.75353e-05
11340.0 1.96825e-05
11380.0 4.71793e-05
11400.0 9.66667e-06
11430.0 4.62992e-05
11470.0 2.28335e-05
11540.0 2.7747e-05
11590.0 1.50388e-05
11640.0 5.21478e-05
11670.0 5.29477e-05
11700.0 5.78034e-05
11730.0 6.20546e-05
11750.0 6.35319e-05
11790.0 7.04326e-05
11820.0 6.68612e-05
11860.0 6.82631e-05
11880.0 7.04461e-05
11920.0 7.01342e-05
11950.0 6.27531e-05
11990.0 5.90492e-05
12020.0 5.81364e-05
12090.0 5.83044e-05
12160.0 5.75987e-05
12210.0 6.00164e-05
12270.0 5.75143e-05
12310.0 6.84322e-05
12360.0 7.45874e-05
12400.0 7.68145e-05
12440.0 7.77814e-05
12470.0 7.69447e-05
12530.0 7.36393e-05
12550.0 7.11554e-05
12580.0 6.77981e-05
12600.0 6.36746e-05
12650.0 5.92964e-05
12700.0 5.33937e-05
12750.0 5.11686e-05
12790.0 4.99453e-05
12860.0 4.99533e-05
12920.0 5.02012e-05
12970.0 5.26137e-05
13020.0 5.78264e-05
13050.0 5.94559e-05
13070.0 6.21117e-05
13100.0 5.9313e-05
13130.0 5.49124e-05
13160.0 7.23784e-05
13190.0 6.48294e-05
13230.0 6.35979e-05
13260.0 7.54148e-05
13300.0 6.72707e-05
13330.0 6.41335e-05
13340.0 4.03223e-05
13360.0 2.09506e-05
13390.0 6.76998e-05
13430.0 5.13254e-05
13460.0 4.1107e-05
13490.0 1.80282e-05
13530.0 1.0643e-06
13550.0 1.47601e-08
13600.0 2.94853e-06
13630.0 3.30154e-07
13700.0 2.18978e-08
13730.0 2.70939e-06
13770.0 3.63108e-08
13830.0 0
13880.0 7.20461e-09
13920.0 2.37069e-07
13950.0 2.15054e-08
13960.0 6.08883e-07
13970.0 1.73228e-06
13980.0 8.88412e-06
14000.0 7.14286e-09
14010.0 7.14286e-09
14020.0 3.71612e-06
14040.0 7.40741e-07
14060.0 3.39972e-06
14070.0 2.84293e-08
14100.0 1.70213e-07
14120.0 3.75354e-07
14160.0 6.07345e-07
14210.0 4.92611e-08
14260.0 2.10379e-08
14420.0 2.77393e-08
14500.0 0
105 changes: 105 additions & 0 deletions speclite/data/filters/twomass-Ks.ecsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# %ECSV 0.9
# ---
# datatype:
# - {name: wavelength, unit: Angstrom, datatype: float64}
# - {name: response, datatype: float64}
# meta: !!omap
# - {band_name: Ks}
# - {description: 'Instrument: 2MASS Cameras in Mt. Hopkins, AZ, and CTIO, Chile
#
# Determined by: Cohen, Wheaton & Megeath (2003), AJ, 126, 1990 with notes:
#
# "Table 1 - 2MASS Isophotal Bandpasses and Fluxes-for-0-magnitude from Cohen et al. (2003)
# Band Lambda (micron) Bandwidth (micron) Fnu - 0 mag (Jy) Flambda - 0 mag (W cm-2 micron-1)
# J 1.235 0.006 0.162 0.001 1594 27.8 3.129E-13 5.464E-15
# H 1.662 0.009 0.251 0.002 1024 20.0 1.133E-13 2.212E-15
# Ks 2.159 0.011 0.262 0.002 666.7 12.6 4.283E-14 8.053E-16
#
# Figures 1, 2, and 3 present the 2MASS J, H and Ks relative spectral
# response curves (RSRs), peak-normalized to unity. These curves are
# derived by Cohen et al. (2003) and are photon-counting RSRs suitable
# for integrating over stellar spectra when using or generating synthetic
# photometry. These RSRs are consistent with the absolute calibration of
# 2MASS given in Table 1 above."
#
# Notes:
# I am not in a position to judge the quality of these curves, but
# have no reason to doubt them. - Michael Blanton 2005-07-06'}
# - {group_name: twomass}
wavelength response
18970.0 0
19150.0 0
19270.0 0
19340.0 1.03413e-08
19390.0 2.57865e-08
19480.0 2.77207e-07
19570.0 6.08074e-07
19620.0 1.00408e-06
19690.0 2.14322e-06
19760.0 4.41802e-06
19810.0 7.71328e-06
19890.0 1.24786e-05
19900.0 9.55779e-06
19980.0 1.17067e-05
20080.0 1.46713e-05
20140.0 1.97716e-05
20190.0 1.66716e-05
20280.0 3.06065e-05
20370.0 3.75552e-05
20450.0 3.64988e-05
20610.0 3.03299e-05
20720.0 3.50145e-05
20750.0 3.32289e-05
20820.0 3.78434e-05
20890.0 3.91623e-05
20990.0 3.91996e-05
21060.0 4.09924e-05
21130.0 4.15428e-05
21200.0 4.04561e-05
21240.0 4.22881e-05
21380.0 4.29794e-05
21450.0 4.32075e-05
21550.0 4.30023e-05
21690.0 4.15353e-05
21760.0 4.24081e-05
21850.0 3.85721e-05
21970.0 4.30542e-05
22080.0 4.44022e-05
22130.0 4.46408e-05
22180.0 4.44004e-05
22320.0 4.32213e-05
22370.0 4.38802e-05
22480.0 4.37455e-05
22560.0 4.26108e-05
22600.0 4.33274e-05
22630.0 4.41891e-05
22650.0 4.25254e-05
22700.0 4.32247e-05
22720.0 4.261e-05
22760.0 4.0022e-05
22770.0 4.31313e-05
22810.0 3.90004e-05
22840.0 3.90455e-05
22860.0 4.12249e-05
22910.0 3.66827e-05
22930.0 3.5072e-05
22950.0 3.08349e-05
22970.0 2.86281e-05
22990.0 2.43889e-05
23060.0 1.92411e-05
23110.0 1.50671e-05
23160.0 9.93955e-06
23200.0 7.00862e-06
23250.0 5.84946e-06
23280.0 3.95619e-06
23350.0 2.67238e-06
23390.0 1.84267e-06
23440.0 1.45051e-06
23460.0 1.3214e-06
23520.0 5.01701e-07
23610.0 2.88014e-07
23630.0 2.96234e-08
23700.0 1.26582e-07
23750.0 8.84211e-08
23840.0 1.67785e-08
23990.0 0
4 changes: 2 additions & 2 deletions speclite/filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
are:
>>> filter_group_names
['sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'lsst2016', 'bessell', 'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2']
['sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'lsst2016', 'bessell', 'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2', 'twomass']
List the band names associated with any group using, for example:
Expand Down Expand Up @@ -246,7 +246,7 @@

filter_group_names = [
'sdss2010', 'sdss2010noatm', 'decam2014', 'wise2010', 'hsc2017', 'lsst2016', 'bessell',
'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2']
'BASS', 'MzLS', 'Euclid', 'decamDR1', 'decamDR1noatm', 'gaiadr2', 'twomass']

default_wavelength_unit = astropy.units.Angstrom

Expand Down

0 comments on commit 4045b2b

Please sign in to comment.