Commit 80094a40 authored by Guang's avatar Guang Committed by Guang
Browse files

fritz2006.py optimiation

parent bf41b73e
......@@ -134,7 +134,7 @@ class Fritz2006(SedModule):
k_lam = 1.39*(self.fritz2006.wave/1e3)**-1.2-0.38
A_lam = k_lam * self.EBV
# Set negative value to zero
A_lam[np.where(A_lam<0)] = 0
A_lam[A_lam<0] = 0
# The extinction factor, flux_1/flux_0
ext_fac = 10**(A_lam/-2.5)
# Calculate the new AGN SED shape after extinction
......
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