Electron density calculator for 2D-hexagonal lattices

This Javascript calculates the 2D electron density distribution rho(r) of a hexagonal lattice from scattering data. Enter the number of peaks and the value of the 2D-lattice spacing (d). Enter the peak intensities (as obtained with a 1D-detector) and the signs of the scattering amplitudes (+ or -). The intensity values will be multiplicity- and Lorentz-corrected For 2*Nr points rho(r) from -rmax = -rx = -ry to rmax = rx = ry will be calculated. If the calculation takes too long (on a slow computer) decrease Nr. The values are listed in rho(r) vs rx, ry in arbitrary units and can be copied and pasted from the window into any text-file for further processing and graphical displaying.


Input I(q)
peaks d
Nr rmax
c(1)
c(2)
c(3)
c(4)
c(5)
c(6)
c(7)
c(8)

overlay
no overlay


Author: M.Kriechbaum, TU-Graz (2018), e-mail: manfred.kriechbaum@tugraz.at