skued.affe

skued.affe(atom, nG)

Atomic form factors for electrons, for neutral atoms.

Parameters
  • atom (skued.Atom, int, or str) – Atomic number, atomic symbol, or Atom instance. Atomic symbols are expected to be properly capitalized, e.g. As or W.

  • nG (array_like) – Scattering vector norm, in units of Angstroms:math:^{-1}. (\(|G| = 4 \pi s\)).

Returns

eff – Atomic form factor for electron scattering.

Return type

~numpy.ndarray, dtype float

:raises ValueError : scattering information is not available, for example if the atomic number is larger than 103: