Commit 32e7293e authored by Guang's avatar Guang

bug fixed for galaxy X-rays

parent eb8f3394
......@@ -144,10 +144,10 @@ class Xray(SedModule):
sed.add_info("xray.agn_Lx_total", l_agn_xray_total, True)
sed.add_info("xray.agn_Lx_2to10keV", l_agn_xray_2to10keV, True)
# Add the SED components
sed.add_contribution('xray_hotgas', self.wave, self.lumin_hotgas * l_hotgas_xray_0p5to2keV)
sed.add_contribution('xray_hmxb', self.wave, self.lumin_xrb * l_hmxb_xray_2to10keV)
sed.add_contribution('xray_lmxb', self.wave, self.lumin_xrb * l_lmxb_xray_2to10keV)
sed.add_contribution('xray_corona', self.wave, self.lumin_corona * Lnu_2500A)
sed.add_contribution('xray.hot_gas', self.wave, self.lumin_hotgas * l_hotgas_xray_0p5to2keV)
sed.add_contribution('xray.high_mass_binary', self.wave, self.lumin_xrb * l_hmxb_xray_2to10keV)
sed.add_contribution('xray.low_mass_binary', self.wave, self.lumin_xrb * l_lmxb_xray_2to10keV)
sed.add_contribution('xray.agn_corona', self.wave, self.lumin_corona * Lnu_2500A)
# SedModule to be returned by get_module
......
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