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.
Calculation Input
h*h+k*k+hk, q, y-data(q)
Plot Input
shells
10
9
8
7
6
5
4
3
2
1
d
r(1)
c(1)
circ
hex
r(2)
c(2)
circ
hex
r(3)
c(3)
circ
hex
r(4)
c(4)
circ
hex
r(5)
c(5)
circ
hex
r(6)
c(6)
circ
hex
r(7)
c(7)
circ
hex
r(8)
c(8)
circ
hex
r(9)
c(9)
circ
hex
r(10)
c(10)
circ
hex
Nr
r
max
y-data:
F(q)
I(q)
I(q)*M
I(q)*M/x**2
colorscale:
Jet
Hot
Rainbow
Earth
Electric
Viridis
Cividis
Portland
Blackbody
Picnic
RdBu
YlGnBu
YlOrRd
Bluered
Greys
Blues
Reds
Greens
2D-plot:
heatmap
heatmap-GL
contour
contour+heatmap
contourlines
3D-plot:
surface
surface+contour
F(0):
Author:
M.Kriechbaum
, TU-Graz (2018), e-mail:
manfred.kriechbaum@tugraz.at