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
Guang
x-cigale
Commits
629a606a
Commit
629a606a
authored
Jul 03, 2019
by
Guang
Committed by
Guang
Oct 23, 2019
Browse files
change wavelength cut of fritz2006 to 10**0.9 nm
parent
c0187b73
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/sed_modules/fritz2006.py
View file @
629a606a
...
...
@@ -125,7 +125,7 @@ class Fritz2006(SedModule):
x
=
self
.
fritz2006
.
wave
)
# Apply wavelength cut to avoid X-ray wavelength
lam_cut
=
5.
lam_cut
=
10
**
0.9
lam_idxs
=
self
.
fritz2006
.
wave
>=
lam_cut
# Calculate the re-normalization factor to keep energy conservation
norm_fac
=
np
.
trapz
(
self
.
fritz2006
.
lumin_intrin_agn
,
x
=
self
.
fritz2006
.
wave
)
/
\
...
...
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