shadow4.physical_models.bragg.bragg

Crystal structure factor preprocessor for Bragg diffraction calculations.

Provides create_bragg_preprocessor_file_v2() to generate the SHADOW bragg preprocessor file (version 2), which encodes the crystal structure factor as a function of photon energy for a given crystal and Miller indices. The resulting file is consumed by crystalpy’s DiffractionSetupShadowPreprocessorV2.

Functions

bragg_calc2([descriptor, hh, kk, ll, ...])

Preprocessor for Structure Factor (FH) calculations.

create_bragg_preprocessor_file_v2([...])

Preprocessor for Crystal Structure Factor calculations.