A multi-temperature mekal model using the exponential of a sixth-order Chebyshev polynomial for the differential emission measure. (see e.g. Lemen et al. ApJ 341, 474, 1989). The abundance is relative to the Solar abundances set by the abund command. The switch parameter determines whether the mekal code will be run to calculate the model spectrum for each temperature or whether the model spectrum will be interpolated from a pre-calculated table. The former is slower but more accurate.
par1 = Chebyshev polynomial coefficient 1par2 = Chebyshev polynomial coefficient 2
par3 = Chebyshev polynomial coefficient 3
par4 = Chebyshev polynomial coefficient 4
par5 = Chebyshev polynomial coefficient 5
par6 = Chebyshev polynomial coefficient 6
par7 = H density (cm
)
par8 = abundance wrt to Solar
par9 = Redshift
par10 = 0
calculate, 1
interpolate
K =
, where D is the luminosity distance
to the source (cm),
is the electron density (cm
),
and
is the hydrogen density (cm
)