Commit 79424348 authored by Médéric Boquien's avatar Médéric Boquien

Now that the AGN modules have a consistent naming scheme, directly...

Now that the AGN modules have a consistent naming scheme, directly agn.dust_luminosity to dust.luminosity in order to obtain the dust luminosity that is due to star formation.
parent 1ffdfdc3
Pipeline #3084 skipped with stage
......@@ -73,8 +73,8 @@ class Radio(SedModule):
if 'dust.luminosity' not in sed.info:
sed.add_info('dust.luminosity', 1., True, unit='W')
luminosity = sed.info['dust.luminosity']
if 'agn.fracAGN' in sed.info:
luminosity *= 1. - sed.info['agn.fracAGN']
if 'agn.dust_luminosity' in sed.info:
luminosity -= sed.info['agn.dust_luminosity']
sed.add_module(self.name, self.parameters)
sed.add_info("radio.qir", self.qir)
......
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