A Small Angle X-Ray Scattering (SAXS) calculator from coordinate files such as XYZ.
This Julia package is built to compute the X-ray scattering response of atomic clusters at small angles (SAXS). To do so, the Debye formula is utilized:
where f are atomic form factors, q is the magnitude of transferred momentum and
Functions to parse xyz/extxyz files are provided, yet at its core the code only requires atomic coordinates and the corresponding chemical species - you can use any other code to obtain them and feed those to the desired functions.
The atomic form factors can be written as:
They contain :
- A part dependent on transferred momentum q , deriving from Thomson scattering
- A part dependent on the energy of the incoming X-ray , or resonant part
The momentum dependent contribution is written using the Cromer-Mann parametrization:
Where the a,b and c are empirical parameters.
Units used are : KeV for energies , Angstrom for distances , Angstrom -1 for momenta.