Electron density calculator for 1Dlamellar 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 1Dlattice 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 textfile 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
, TUGraz (2018), email:
manfred.kriechbaum@tugraz.at