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
0891f295
Commit
0891f295
authored
May 19, 2015
by
Médéric Boquien
Browse files
Ensure that all the nebular input parameters are also output.
parent
21ab56ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/creation_modules/nebular.py
View file @
0891f295
...
...
@@ -134,16 +134,16 @@ class NebularEmission(CreationModule):
parameters: dictionary containing the parameters
"""
f_esc
=
self
.
parameters
[
'f_esc'
]
f_dust
=
self
.
parameters
[
'f_dust'
]
NLy_old
=
sed
.
info
[
'stellar.n_ly_old'
]
NLy_young
=
sed
.
info
[
'stellar.n_ly_young'
]
lines
=
self
.
lines_template
[
sed
.
info
[
'stellar.metallicity'
]]
cont
=
self
.
cont_template
[
sed
.
info
[
'stellar.metallicity'
]]
sed
.
add_module
(
self
.
name
,
self
.
parameters
)
sed
.
add_info
(
'nebular.f_esc'
,
f_esc
)
sed
.
add_info
(
'nebular.f_dust'
,
f_dust
)
sed
.
add_info
(
'nebular.logU'
,
self
.
parameters
[
'logU'
])
sed
.
add_info
(
'nebular.f_esc'
,
self
.
parameters
[
'f_esc'
])
sed
.
add_info
(
'nebular.f_dust'
,
self
.
parameters
[
'f_dust'
])
sed
.
add_info
(
'nebular.lines_width'
,
self
.
parameters
[
'nebular_lines_width'
])
sed
.
add_contribution
(
'nebular.lines_old'
,
lines
.
wave
,
lines
.
ratio
*
NLy_old
*
self
.
conv_line
)
...
...
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