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

fixed Surhud comments

parent 7555acb8
......@@ -276,9 +276,12 @@ class GalaxyCatalog:
return k_corr
elif band == 'K':
# https://iopscience.iop.org/article/10.1086/322488/pdf 4th page lhs
to_ret=-6.0*np.log10(1+z)
to_ret[z>0.3]=-6.0*np.log10(1+0.3)
return -6.0*np.log10(1+z)
elif band == 'bJ':
# Fig 5 caption from https://arxiv.org/pdf/astro-ph/0111011.pdf
# Note that these corrections also includes evolution corrections
return (z+6*np.power(z,2.))/(1+15*np.power(z,3.))
else:
try:
......
......@@ -45,11 +45,11 @@ class SchechterParams():
elif band =='bJ':
# From https://arxiv.org/pdf/astro-ph/0111011.pdf
# Mmax from Abstract, of the paper above, valid for fit.
return -1.21, -19.66, -22.96, -16.5
return -1.21, -19.66, -22.00, -16.5
elif band == 'K':
# https://iopscience.iop.org/article/10.1086/322488/pdf
# Mmax from Fig 3 of the above reference
return -1.09, -23.39, -27.0, -19.5
return -1.09, -23.39, -27.0, -19.0
elif band == 'u': #These values are actually u', g', r', i', zi, a.k.a. redshifted to the median redshift (0.1) of SDSS.
return -0.92, -17.93, -21.93, -15.54
elif band == 'g':
......
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