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 (as obtained with a 1Ddetector) and the signs of the scattering amplitudes (+ or ). 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)
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)
+

overlay
no overlay
Author:
M.Kriechbaum
, TUGraz (2018), email:
manfred.kriechbaum@tugraz.at