A multi-temperature, variable-abundance mekal model using the sixth-order Chebyshev polynomial for the differential emission measure. The DEM is not constrained to be positive. The abundances are 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-par21 = Abundances of He, C, N, O, Ne, Na, Mg, Al, Si, S,
Ar, Ca, Fe, Ni wrt Solar (defined by the abund command)
par22 = Redshift
par23 = 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
)