Commit 86361459 authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Treat the total galaxy mass as a normal parameter. The special handling of...

Treat the total galaxy mass as a normal parameter. The special handling of galaxy_mass already got removed in the previous commit.
parent 31c30672
...@@ -121,6 +121,8 @@ class BC03(CreationModule): ...@@ -121,6 +121,8 @@ class BC03(CreationModule):
sed.add_info("stellar.b4_sdss_old", old_info["b4_sdss"]) 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.b_912_old", old_info["b_912"])
sed.add_info("galaxy_mass", 1., True)
sed.add_contribution("stellar.old", old_wave, old_lumin) sed.add_contribution("stellar.old", old_wave, old_lumin)
sed.add_contribution("stellar.young", young_wave, young_lumin) sed.add_contribution("stellar.young", young_wave, young_lumin)
...@@ -170,6 +170,8 @@ class M2005(CreationModule): ...@@ -170,6 +170,8 @@ class M2005(CreationModule):
sed.add_info('stellar.mass_turn_off', sed.add_info('stellar.mass_turn_off',
old_masses[5] + young_masses[5], True) old_masses[5] + young_masses[5], True)
sed.add_info("galaxy_mass", 1., True)
sed.add_contribution("ssp_old", sed.add_contribution("ssp_old",
ssp.wavelength_grid, ssp.wavelength_grid,
old_spectrum) old_spectrum)
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