Diffraction calculator of 3D-cubic lattices x, y, 5 z-slices.
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 (a=b=c) 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 ((h*h+k*k+l*l) < 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 multiplied by a scaling factor f (scattering amplitudes Fhkl). 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 nx * ny points (2D) from the center of the symmetric unit cell for n x n cell units at five z-slices in the perpendicular z-axis, starting at the 1st z-slice (z0) separated by equidistant widths zw (z0 < z < z0+5*zw)). F(0) will also be calculated and used in the electron density calculations. By default the color scales of the z-slices are autoscaled (zmin=zmax) for each slice, but can be set manually to the same constant value for all slices (zmax > zmin),
Input
h, k, l, h*h+k*k+l*l, multiplicity, y-data(q)
Output/Plot
shells
10
9
8
7
6
5
4
3
2
1
P/F/I:
221(P)
225(F)
229(I)
a=b=c:
r(1)
c(1)
sph
cub
r(2)
c(2)
sph
cub
r(3)
c(3)
sph
cub
r(4)
c(4)
sph
cub
r(5)
c(5)
sph
cub
r(6)
c(6)
sph
cub
r(7)
c(7)
sph
cub
r(8)
c(8)
sph
cub
r(9)
c(9)
sph
cub
r(10)
c(10)
sph
cub
hkl-max
1st z-slice (z0)
z-slice distances (zw)
Nr of points (nx * ny):
unit cells (n * n ):
2D-plot colorscale:
Jet
Hot
Rainbow
Earth
Electric
Viridis
Cividis
Portland
Blackbody
Picnic
RdBu
YlGnBu
YlOrRd
Bluered
Greys
Blues
Reds
Greens
colorscale/background:
normal/white
reverse/white
normal/black
reverse/black
2D-plot type:
heatmap
heatmap-GL
heatmap-smooth
contour
contour+heatmap
contourlines
colorscale-zmin:
colorscale-zmax:
scaling factor:
F(0) =
Author:
M.Kriechbaum
, TU-Graz (2023), e-mail:
manfred.kriechbaum@tugraz.at