API reference#
Release:
Date: May 26, 2026
This reference manual describes the public functions, modules, and objects in diffsims. Some of the descriptions include brief examples. For learning how to use diffsims, see the demos.
Caution
diffsims is in continuous development, meaning that some breaking changes and changes to this reference are likely with each release.
Modules
Generation of reciprocal lattice vectors (crystal plane, reflector, g, hkl) for a crystal structure. |
|
Generation of diffraction simulations and libraries, and lists of rotations. |
|
Diffraction, structure and vector libraries. |
|
Addition of noise to patterns. |
|
Diffraction simulations. |
|
Kinematic Diffraction Simulation Results. |
|
Calculation of scattering factors and structure factors. |
|
Diffraction utilities used by the other modules. |