Commit eb0f22d1 authored by Simone Mastrogiovanni's avatar Simone Mastrogiovanni
Browse files

set bJ inside kcorr

parent 3b38d5a4
......@@ -229,8 +229,8 @@ class GalaxyCatalog:
"""
Return color index for K corrections
"""
Kcorr_bands = {'B': 'B', 'K': 'K', 'u': 'r', 'g': 'r', 'r': 'g', 'i': 'g', 'z': 'r'}
Kcorr_signs = {'B': 1, 'K': 1, 'u': 1, 'g': 1, 'r': -1, 'i': -1, 'z': -1}
Kcorr_bands = {'B': 'B', 'K': 'K','bJ':'bJ','u': 'r', 'g': 'r', 'r': 'g', 'i': 'g', 'z': 'r'}
Kcorr_signs = {'B': 1, 'K': 1,'bJ':1 ,'u': 1, 'g': 1, 'r': -1, 'i': -1, 'z': -1}
if not band in Kcorr_bands.keys():
print('Band {band} not supported for color-based K corrections')
color = np.zeros(len(self))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment