I(q) function calculator
This Javascript calculates the scattering curve I(q) of concentric shell models (sphere, disc or rod). Enter the number of radii, the values for the radius R(i) and its electron-density c(i) (between R(i) and R(i-1)). For Nr points I(q) from q = 0 to qz with a scaling factor f will be calculated. The values are listed in I(q) vs q or log(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.

Input I(q)
shells I*q^n
Nr qz
f y-offset
R(1) c(1)
R(2) c(2)
R(3) c(3)
R(4) c(4)
R(5) c(5)
R(6) c(6)
R(7) c(7)
R(8) c(8)

sphere
disc
rod
lin (q) log (q)
lin I(q) log I(q)
overlay no overlay
Rg

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