vice.solar_z.epsilon_to_z_conversion

Convert an element’s abundance in the sun according to the definition

\[\epsilon_x = \log_{10}(N_x / N_H) + 12\]

to a metallicity by mass \(Z_x = M_x / M_\odot\).

Signature: vice.solar_z.epsilon_to_z_conversion(epsilon, mu, Xsun = 0.73)

New in version 1.2.0.

Parameters

epsilonfloat

The log-scaled number density relative to hydrogen defined above for a particular element.

mufloat

The mean molecular weight of the element.

Xsunfloat [default0.73]

The hydrogren mass fraction of the solar photosphere.

Returns

Zsunfloat

The abundance by mass of the element \(x\) in the sun, \(M_x / M_\odot\).

Notes

The values returned by this function are calculated according to the following conversion, which can be derived from the definition of \(\epsilon_x\) and \(Z_x\) above:

\[Z_x = X_\odot \mu_x 10^{\epsilon_x - 12}\]

VICE uses this function to compute the default solar composition based on internal data storing the Asplund et al. (2009) [1] photospheric measurements.