Commit 5ce004b1 authored by Médéric Boquien's avatar Médéric Boquien

Only take the fraction of the dust emission due to star formation to compute...

Only take the fraction of the dust emission due to star formation to compute the synchrotron emission.
parent 0b68dbef
Pipeline #3070 skipped with stage
......@@ -73,6 +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']
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