Electron density calculator for 1D-lamellar lattices
This Javascript calculates the 1D electron density distribution rho(r) of a lamellar lattice from scattering data. Enter the number of peaks and the value of the 1D-lattice spacing (d). Enter the peak intensities I(q) or peak amptitudes F(q) and the signs of the scattering amplitudes (+ or -). Select the corrections already applied to the input data: 'none' means no corrections, LC means Lorentz correction (multiplied by q*q) have already been applied. F(q) have to be entered LC corrected. Optionally F(0) can be entered (with the proper sign +/-) to adjust the offset of the electron densities. For Nr points rho(r) from r = -rz to rz will be calculated and plotted. The values are listed in rho(r) vs r (listed from 0 to rz as it is a symmetric function) in arbitrary units and can be copied and pasted from the window into any text-file for further processing and graphical displaying.
Input
rho(r)
Plot
peaks
10
9
8
7
6
5
4
3
2
1
d
Nr
r
z
F/I(1)
+
-
F/I(2)
+
-
F/I(3)
+
-
F/I(4)
+
-
F/I(5)
+
-
F/I(6)
+
-
F/I(7)
+
-
F/I(8)
+
-
F/I(9)
+
-
F/I(10)
+
-
F(0)
data:
I(q) correction: none
I(q) correction: LC
F(q) correction: LC
overlay
no overlay
Author:
M.Kriechbaum
, TU-Graz (2018), e-mail:
manfred.kriechbaum@tugraz.at