mescla.isotopes.carrier_for

mescla.isotopes.carrier_for(name)[source]

Candidate carrier elements for a solute isotope ratio, or None.

Handles the compound forms that appear in the literature. A label that names its own carrier – "d34S-SO4", "d18O_NO3" – is taken at its word, so "d18O" alone is read as a water isotope while "d18O-SO4" is read as sulphate-bound oxygen.

Examples

>>> carrier_for("d34S")
('SO4',)
>>> carrier_for("87Sr/86Sr")
('Sr',)
>>> carrier_for("d34S-SO4")
('SO4',)
>>> carrier_for("Cl") is None
True
Parameters:

name (str)

Return type:

tuple[str, …] | None