Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
39c9b609
Commit
39c9b609
authored
Jan 10, 2014
by
BURGARELLA Denis
Committed by
Yannick Roehlly
Jan 11, 2014
Browse files
Change to take off anything below the Lyman break in the spectra
parent
3199cc51
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/creation_modules/m2005.py
View file @
39c9b609
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment