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

Ensure that all the nebular input parameters are also output.

parent 21ab56ce
...@@ -134,16 +134,16 @@ class NebularEmission(CreationModule): ...@@ -134,16 +134,16 @@ class NebularEmission(CreationModule):
parameters: dictionary containing the parameters 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_old = sed.info['stellar.n_ly_old']
NLy_young = sed.info['stellar.n_ly_young'] NLy_young = sed.info['stellar.n_ly_young']
lines = self.lines_template[sed.info['stellar.metallicity']] lines = self.lines_template[sed.info['stellar.metallicity']]
cont = self.cont_template[sed.info['stellar.metallicity']] cont = self.cont_template[sed.info['stellar.metallicity']]
sed.add_module(self.name, self.parameters) sed.add_module(self.name, self.parameters)
sed.add_info('nebular.f_esc', f_esc) sed.add_info('nebular.logU', self.parameters['logU'])
sed.add_info('nebular.f_dust', f_dust) 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 * sed.add_contribution('nebular.lines_old', lines.wave, lines.ratio *
NLy_old * self.conv_line) NLy_old * self.conv_line)
......
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