An emission spectrum from hot diffuse gas based on the model calculations of Mewe and Kaastra with Fe L calculations by Liedahl (for references see the section on the mekal model). The model includes line emissions from several elements. Abundances are the number of nuclei per Hydrogen nucleus 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 = plasma temperature in keVpar2 = hydrogen density in cm**-3
par3-par16 = Abundances for He, C, N, O, Ne, Na, Mg, Al, Si, S,
Ar, Ca, Fe, Ni wrt Solar (defined by the abund command)
par17 = redshift, z
par18 = 0
calculate, 1
interpolate
K =
, where D is the distance to the
source (cm),
and
are the electron and H densities (cm
)