#NEWLINE# @ ValidateLarchPlugin #NEWLINE# def f1_chantler( element , energy , _larch = None , **kws ) : #NEWLINE# #INDENT# 'returns real part of anomalous x-ray scattering factor for\n    a selected element and input energy (or array of energies) in eV.\n    Data is from the Chantler tables.\n\n    Values returned are in units of electrons\n\n    arguments\n    ---------\n    element:  atomic number, atomic symbol for element\n    energy:   energy or array of energies in eV\n    ' #NEWLINE# xdb = get_xraydb ( _larch ) #NEWLINE# return xdb . _getChantler ( element , energy , column = 'f1' , ** element )