@ValidateLarchPlugin
def f0(ion, q, _larch=None):
    xdb = get_xraydb(_larch)
    return xdb.f0(ion, q)
returns elastic x-ray scattering factor, f0(q), for an ion.
dataset/ETHPy150Open xraypy/xraylarch/plugins/xray/xraydb_plugin.py/f0