Commit 42f4257a authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Get the correct dust luminosity.

parent 91bf8842
......@@ -97,7 +97,7 @@ class Casey2012(CreationModule):
"""
if 'dust.luminosity' not in sed.info.keys():
sed.add_info('dust.luminosity', 1., True)
luminosity = 1.
luminosity = sed.info['dust.luminosity']
sed.add_module(self.name, self.parameters)
sed.add_info("dust.temperature", self.parameters["temperature"])
......
......@@ -81,7 +81,7 @@ class Dale2014(CreationModule):
"""
if 'dust.luminosity' not in sed.info.keys():
sed.add_info('dust.luminosity', 1., True)
luminosity = 1.
luminosity = sed.info['dust.luminosity']
frac_agn = self.parameters["fracAGN"]
......
......@@ -63,7 +63,7 @@ class DH2002(CreationModule):
if 'dust.luminosity' not in sed.info.keys():
sed.add_info('dust.luminosity', 1., True)
luminosity = 1.
luminosity = sed.info['dust.luminosity']
ir_template = self.dh2002.get_template(alpha)
......
......@@ -98,7 +98,7 @@ class DL2007(CreationModule):
"""
if 'dust.luminosity' not in sed.info.keys():
sed.add_info('dust.luminosity', 1., True)
luminosity = 1.
luminosity = sed.info['dust.luminosity']
sed.add_module(self.name, self.parameters)
sed.add_info('dust.qpah', self.parameters["qpah"])
......
Markdown is supported
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