Commit 723aa139 authored by Guang's avatar Guang Committed by Guang
Browse files

xray.py optimization

parent 7bb606c1
......@@ -155,8 +155,7 @@ class Xray(SedModule):
# Add the SED components
sed.add_contribution('xray.galaxy', self.wave,
self.lumin_hotgas*l_hotgas_xray_0p5to2keV + \
self.lumin_xrb*l_hmxb_xray_2to10keV + \
self.lumin_xrb*l_lmxb_xray_2to10keV)
self.lumin_xrb*(l_hmxb_xray_2to10keV+l_lmxb_xray_2to10keV) )
sed.add_contribution('xray.agn_corona', self.wave, self.lumin_corona * L_lam_2keV)
# 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