def chemparse(formula, _larch=None, **kws):
    p = ChemFormulaParser()
    return p.parse(formula)
parse a chemical formula to a dictionary of elemental abundances
dataset/ETHPy150Open xraypy/xraylarch/plugins/xray/chemparser.py/chemparse