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. 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)
peaks
8
7
6
5
4
3
2
1
d
Nr
r
z
c(1)
+
-
c(2)
+
-
c(3)
+
-
c(4)
+
-
c(5)
+
-
c(6)
+
-
c(7)
+
-
c(8)
+
-
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