I(q) calculator of a lattice
This Javascript calculates the scattering curve of a 1D (lamellar), 2D (hexagonal), or several 3D (cubic) lattices, respectively. Enter the lattice type, the lattice spacing (size), the number n of peaks (1 to 8, peak c(0) at q=0 is not counted), their peak areas c(i), the FWHM and an optional constant y-offset of the peaks. For Nr points I(q) from q = 0 to ~ n*2*Pi/size with a scaling factor f will be calculated. The values are listed/plotted in I(q) vs q in arbitrary units and can be copied and pasted from the window into any text-file for further processing and graphical displaying. Permitted Bragg-reflections for selected lattice types are listed here and here.

Input I(q)
Nr f
fwhm size
overlay: yes no

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