mescla.prep.units.lookup_ion

mescla.prep.units.lookup_ion(name)[source]

Return the Ion matching name, or None if it is unknown.

Unknown species are not an error – isotopes, electrical conductivity, pesticides and pharmaceuticals are all legitimate tracers that have no equivalent weight. They are simply left untouched by the conversions.

Parameters:

name (str)

Return type:

Ion | None