get_atoms#
- diffsims.utils.discretise_utils.get_atoms(Z, returnFunc=True, dtype='f8')[source]#
This function returns an approximation of the atom with atomic number Z using a list of Gaussians.
- Parameters:
- Z
int Atomic number of atom
- returnFunc: bool, optional
If True (default) then returns functions for real/reciprocal space discretisation else returns the vectorial representation of the approximating Gaussians.
- Z
- Returns:
- obj1, obj2numpy.ndarray or
function Continuous atom is represented by: .. math:: ymapsto sum_i a[i]*exp(-b[i]*|y|^2)
Thisisdatatable3from‘RobustParameterizationofElasticandAbsorptiveElectronAtomicScattering- Factors’
byL.-M.Peng, G.Ren, S. L.Dudarevand
Whelan, 1996
- obj1, obj2numpy.ndarray or