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 d-sp, the number n of peaks (1 to 8, peak c(0) at q=0 is not counted), their peak areas c(i) and the FWHM of the peaks. For Nr points I(q) from q = 0 to ~ n*2*Pi/dsp with a scaling factor f will be calculated. The values are listed in q vs I(q) 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
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
lattice
lamellar
hexagonal
Pn3m (Q224)
Fd3m (Q227)
Im3m (Q229)
Ia3d (Q230)
Pm3n (Q223)
Fm3m (Q225)
Nr
f
FWHM
d-sp
c(0)
c(1)
c(2)
c(3)
c(4)
c(5)
c(6)
c(7)
c(8)
c(9)
c(10)
c(11)
c(12)
c(13)
c(14)
c(15)
I(q)-plot
Author:
M.Kriechbaum
, TU-Graz (2012), e-mail:
manfred.kriechbaum@tugraz.at