Commit cbde188e authored by Yannick Roehlly's avatar Yannick Roehlly

BC03: add old + young mass parameters to the SED

In the Bruzual and Charlot (2003) SSP module, we add parameters to the
info dictionary containing the total star and gas masses for the galaxy.
parent 384eb026
......@@ -125,6 +125,13 @@ class BC03(CreationModule):
sed.add_info("stellar.b4_sdss_old", old_info["b4_sdss"])
sed.add_info("stellar.b_912_old", old_info["b_912"])
sed.add_info("stellar.m_star",
young_info["m_star"] + old_info["m_star"],
True)
sed.add_info("stellar.m_gas",
young_info["m_gas"] + old_info["m_gas"],
True)
sed.add_info("galaxy_mass", 1., True)
sed.add_contribution("stellar.old", old_wave, old_lumin)
......
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