Diffraction calculator of 3D-cubic lattices.

Enter the number of shells in the 3D-square unit cell, the shape of each shell (spherical or cubical), their radii r and their electron densities c, the type (P/F/I) and lattice spacing d of the cubic space group (P221/F225/I229). The radius r in case of a cube is the radius of the inscribed sphere. The radii should be increasing from 1 to 10 and intersecting of cubes and spheres should be avoided. The diffraction peaks up to hkl-max (hkl^2 < 400) of the cubic lattice will be calculated. The values are listed as h, k, l, h*h+k*k+l*l, multiplicity and y-data. These y-data can be either the amplitudes F(q) or the intensities I(q). Optionally the intensities I(q) can be multiplied by the multiplicities of the respective peaks (*M) and further also be divided by hkl^2 (Lorentzfactor, /x**2). Units are arbitrary (A or nm) and can be copied and pasted from the window into any text-file for further processing and graphical displaying. The electron density will then be recalculated from the calculated diffraction peaks and plotted for Nr points (2D) from the center of the symmetric unit cell for n x n cell units at the lattice plane rz (0 < rz < d). F(0) will also be calculated and used in the electron density calculations (for proper scaling and offset of the electron density).


Input h, k, l, h*h+k*k+l*l, multiplicity, y-data(q) Output/Plot
shells P/F/I:
a=b=c: rz
r(1) c(1)
r(2) c(2)
r(3) c(3)
r(4) c(4)
r(5) c(5)
r(6) c(6)
r(7) c(7)
r(8) c(8)
r(9) c(9)
r(10) c(10)
F(0):

Nr (points, 2D):
unit cells (n x n ):
colorscale:
colorscale/background:
2D-plot:
3D-plot:
colorscale-zmin:
colorscale-zmax:
hkl-max
Nr (points, 1D)
FWHM
y-data-correction
scaling factor
offset



Author: M.Kriechbaum, TU-Graz (2018), e-mail: manfred.kriechbaum@tugraz.at