dtxrd

x-ray diffraction calculator (dynamical theory of x-ray diffraction for perfect crystals)

author:Stanislav Stoupin
email:<sstoupin@gmail.com>

SYNOPSIS

dtxrd [options] crystal h k l eta phi T d ["a" | "e"] [theta | Ex]

DESCRIPTION

A program to calculate parameters of a Bragg or Laue reflection for a monochromatic incident wave using dynamical theory of x-ray diffraction for perfect crystals in the 2-beam approximation

For a brief summary run:

dtxrd -h

INPUT PARAMETERS

crystal:

crystal type: C (diamond), Si (silicon), Ge (germanium) or Al2O3 (sapphire)

h k l:

Miller indicies of a chosen reflection

eta:

asymmetry angle (\(\eta\) [degrees])

phi:

azimuthal angle of incidence (\(\phi\) [degrees])

T:

crystal temperature [K]

d:

crystal thickness [mm]

flag:
flag description
a perform calculation at a given glancing angle of incidence theta
e perform calculation at a given photon energy Ex
theta:

glancing angle of incidence, theta (\(\theta\))

Ex:

photon energy, Ex (\(E_{\mathrm X}\))

OPTIONS

-v, –version:show version of program.
-h, –help:show summary of options.
-o F, –output=F:
 write results to file F (default to stdout)
-w D, –write=D:write data to file D (default - no action)
-p, –pi:\(\pi\) polarization for incident wave (default - \(\sigma\) polarization)
-c, –conv:convolve data with a virtual instrumental resolution function having FWHM of 1/10 of the Darwin width and report the resulting FWHM of the reflectivity curve

OUTPUT PARAMETERS

Basic parameters of the chosen h k l reflection:

d[A]:\(d\) [Angstrom] interplanar distance (d-spacing) of the chosen h k l reflection
Eb[keV]:\(E_B = \frac{hc}{2d}\) [keV] Bragg energy
thr[deg]:\(\theta_R\) [degrees] incident glancing angle for the exact backscattering (a wave with photon energy \(E_R\) incident at this angle is reflected exactly backwards)
Er[keV]:\(E_R\) [keV] photon energy for the exact backscattering
bh:\(b_{H}\) asymmetry factor in the chosen scattering geometry for symmetric reflection \(\eta = 0\) and \(b_{H} = - 1\)

Susceptibilities and refraction corrections:

chi_{0}:\(\chi_0\) susceptibility
chi_{h}:\(\chi_{H}\) susceptibility
chi_{-h}:\(\chi_{\bar{H}}\) susceptibility
wh(s):\(\omega_{H}^s\) refraction correction for symmetric reflection
wh:\(\omega_{H} = \omega_{H}^s \frac{b_{H}-1}{2b_{H}}\) refraction correction for the chosen reflectoin

Central energy and angle:

Ec[keV]:\(E_c\) [keV] central energy of the chosen reflection
thc[deg]:\(\theta_c\) [deg] central glancing angle of incidence of the chosen reflection

Energy intrinsic (Darwin) widths (thick non-absorbing crystal) at fixed glancing angle of incidence \(\theta_c\):

eps_s:\(\varepsilon^s\) relative energy width of symmetric h k l reflection (same for entrance and exit)
eps:\(\varepsilon\) relative entrance energy width of the chosen h k l reflection
eps_pr:\(\varepsilon'\) relative exit energy width of the chosen h k l reflection
Delta_E_s[meV]:\(\Delta E^s\) [meV] absolute energy width of symmetric h k l reflection (same for entrance and exit)
Delta_E[meV]:\(\Delta E\) [meV] absolute entrance energy width of the chosen h k l reflection
DeltaE_pr[meV]:\(\Delta E'\) [meV] absolute exit energy width of symmetric reflection

Angular intrinsic (Darwin) widths (thick non-absorbing crystal) at fixed photon energy \(E_c\):

dth_s[urad]:\(\Delta \theta^s\) [microradian] angular width of the symmetric h k l reflection (same for entrance and exit)
dth[urad]:\(\Delta \theta\) [microradian] angular entrance width of the chosen h k l reflection
dth_s[urad]:\(\Delta \theta'\) [microradian] angular exit width of the chosen h k l reflection

Additional characteristics of the chosen h k l reflection:

dE/dth[meV/urad]:
 \(\frac{dE}{d\theta}\) [meV/microradian] tangent of the Bragg’s Law
Dr[urad/meV]:\(D_r\) [microradian/meV] intrinsic angular dispersion rate of the chosen h k l reflection
de[um]:\(d_e\) [micrometer] extinction length of the chosen h k l reflection

Reflectivity and Transmissivity:

Rc[%]:\(R_c\) [%] reflectivity at center
Tc[%]:\(T_c\) [%] transmissivity at center

EXAMPLES

to calculate a rocking curve of a 1-mm-thick Si (111) crystal at 8 keV (111 reflection, Bragg case) run:

dtxrd Si 1 1 1 0 0 300 1 e 8
Si111 at 8keV

to calculate a rocking curve of a 0.1-mm-thick C (001) crystal at 12 keV (220 reflection, Laue case) run:

dtxrd C 2 2 0 45 0 300 0.1 e 12
C220 Laue at 12keV

SEE ALSO

author:Stanislav Stoupin
email:<sstoupin@gmail.com>
date:Jun 12, 2020