Equations
The model TraTT solves, written out from the solver (src/tratt/core.py, src/tratt/drive.py). The assumptions behind it and the analytic limits the tests assert are in DESIGN.md; this page is the same model in one place, with the equations typeset.
Variables
Everything is dimensionless.
| symbol | meaning | in the code |
|---|---|---|
| depth in units of the crystal thickness | zeta | |
| time in units of the acoustic transit time | t | |
| thickness in Pendellösung lengths | alpha | |
| deviation parameter (wavevector mismatch from the Bragg condition) multiplied by | eta | |
| acoustic modulation strength | Drive.S | |
| thickness in acoustic wavelengths | Drive.alpha_ac | |
| acoustic phase across the slab, and per transit | Drive.q, Drive.w |
The README's
The forward susceptibility
Laue geometry
Both beams travel into the crystal. With
The diffracted intensity is rocking(..., geometry="laue")). A complex
Bragg geometry
The diffracted beam travels back to the entrance face, so the boundary conditions sit on opposite faces (
The reflectivity is rocking(..., geometry="bragg")). Normal absorption, which does not gauge out in this geometry, enters as solve_bragg(..., kappa=)).
The acoustic drive
The sound wave enters at the surface at
Drive(rise=r), the smoothstep
Satellite channels
The channel positions and weights come from the kinematic limit (weak diffraction,
Where the crystal is filled (
and term Drive.eta_channel(n)): satellite
Limits the tests assert
- Laue, real
, no sound, : . - Laue, real
and , with or without sound: at the exit face. - Bragg, real
, with sound: . - Bragg, no sound,
: for and for , the total-reflection plateau of a thick crystal, whose edge at is soft at this thickness. - Step envelope,
: has its final form, so is periodic in with period .
What the model leaves out
Two beams only, symmetric geometry, a plane monochromatic X-ray wave, a fixed polarization factor, and a sound wave that acts only as a displacement of the lattice (no change of