Commit 8092b74b authored by Yannick Roehlly's avatar Yannick Roehlly

Don't store Nly in log(value)

To perform the convolution with the SFH, the rate of ionizing  photons
must not be stored as the log of its value.
parent 6b54e6e3
......@@ -274,13 +274,13 @@ def build_base():
color_table = []
color3_table = np.genfromtxt(color3_filename).transpose()
color4_table = np.genfromtxt(color4_filename).transpose()
color_table.append(color4_table[6]) # Mstar
color_table.append(color4_table[7]) # Mgas
color_table.append(color3_table[5]) # NLy
color_table.append(color3_table[1]) # B4000
color_table.append(color3_table[2]) # B4_VN
color_table.append(color3_table[3]) # B4_SDSS
color_table.append(color3_table[4]) # B(912)
color_table.append(color4_table[6]) # Mstar
color_table.append(color4_table[7]) # Mgas
color_table.append(10 ** color3_table[5]) # NLy
color_table.append(color3_table[1]) # B4000
color_table.append(color3_table[2]) # B4_VN
color_table.append(color3_table[3]) # B4_SDSS
color_table.append(color3_table[4]) # B(912)
color_table = np.array(color_table)
......
......@@ -42,7 +42,7 @@ class SspBC03(object):
* color_table[0]: Total mass in stars in solar mass
* color_table[1]: Mass returned to the ISM by evolved stars
in solar mass
* color_table[2]: log rate of H-ionizing photons (s-1)
* color_table[2]: rate of H-ionizing photons (s-1)
* color_table[3]: Amplitude of 4000 Å break (Bruzual 2003)
* color_table[4]: Amplitude of 4000 Å narrow break (Balogh
et al. 1999)
......@@ -97,7 +97,7 @@ class SspBC03(object):
- "m_star": Total mass in stars in solar mass
- "m_gas": Mass returned to the ISM by evolved stars
in solar mass
- "n_ly": log rate of H-ionizing photons (s-1)
- "n_ly": rate of H-ionizing photons (s-1)
- "b_4000": Amplitude of 4000 Å break (Bruzual 2003)
- "b4_vn": Amplitude of 4000 Å narrow break (Balogh et al. 1999)
- "b4_sdss" : Amplitude of 4000 Å break (Stoughton et al. 2002)
......
......@@ -57,7 +57,7 @@ class Module(common.SEDCreationModule):
"galaxy history.",
"m_star": "Total mass in stars in Solar mass.",
"m_gas": "Mass returned to the ISM by evolved stars in Solar mass.",
"n_ly": "log rate of H-ionizing photons in s^-1, per Solar mass "
"n_ly": "rate of H-ionizing photons in s^-1, per Solar mass "
"of galaxy.",
"b_4000": "Amplitude of 4000 Å break (Bruzual 2003)",
"b4_vn": "Amplitude of 4000 Å narrow break (Balogh et al. 1999)",
......
Markdown is supported
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