skued.kinematicsim

skued.kinematicsim(crystal, kx, ky, energy=90)

Propagate a plane wave through a crystal and compute the resulting diffraction pattern, in the kinematic approximation (thin specimen).

New in version 2.0.5.

Parameters:
  • crystal (crystals.Crystal) – Crystal from which to scatter.

  • kx (~numpy.ndarray, shape (N,M)) – Momenta mesh where to calculate the diffraction pattern [\(Å^{-1}\)]

  • ky (~numpy.ndarray, shape (N,M)) – Momenta mesh where to calculate the diffraction pattern [\(Å^{-1}\)]

  • energy (float, optional) – Electron energy [keV]

Returns:

diff_pattern – Scattered intensity.

Return type:

~numpy.ndarray