Commit 39c9b609 authored by BURGARELLA Denis's avatar BURGARELLA Denis Committed by Yannick Roehlly
Browse files

Change to take off anything below the Lyman break in the spectra

parent 3199cc51
......@@ -183,6 +183,10 @@ class M2005(CreationModule):
sed.add_info('ssp_mass_turn_off' + self.postfix,
old_masses[5] + young_masses[5], True)
# We take off anything below the Lyman break in the spectra
old_spectrum[ssp.wavelength_grid < 91.2] = 0.
young_spectrum[ssp.wavelength_grid < 91.2] = 0.
sed.add_contribution("ssp_old" + self.postfix,
ssp.wavelength_grid,
old_spectrum)
......
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