get_Z_from_FeH

cosmic.utils.get_Z_from_FeH(FeH, Z_sun=0.02)[source]

Converts from FeH to Z under the assumption that all stars have the same abundance as the sun

Parameters:
FeHarray

Fe/H values to convert

Z_sunfloat

solar metallicity

Returns:
Zarray

metallicities corresponding to Fe/H