Emission Measure Calculation
All calculations use Anders and Grevesse (1989) Standard Abundance Distribution

The ATOMDB definition of emission measure is

EM = &int nenHdV

We also have
nH = &rho / (ni/nH * mH * &mu)

where &mu = 1.298, mH=1.67x10-24 g, and ni/nH &asymp 1 + nHe/nH = 1.0974. The definition of ne is
ne &asymp nH + 2*nHe + 8*nmetals

Here I use a mean charge state of 8 for metals, 2 for helium, and 1 for hydrogen.
But ni = Ai*nH, so
ne &asymp nH + 2*AHe*nH + 8*AmetalsnH
or
ne &asymp nH * (1 + 2*AHe + 8*Ametals)

AHe = 0.0974 from above. For Ametals, I simply sum the values of A for the 5 next most abundant elements: O, C, N, Ne, and Fe, giving a value of 0.0015. So the final expression for ne is
ne &asymp &rho / (ni/nH * mH * &mu) * (1 + 2*AHe + 8*Ametals)

So EM is then defined as
EM = &int [&rho / (ni/nH * mH * &mu)]^2 * (1 + 2*AHe + 8*Ametals) dV