I(q) function calculator
This Javascript calculates the scattering curve I(q) of concentric shell models (ellipsoid), where the innermost shell (shell1) is a cylinder. Enter the number of shells, the values for the radius R(i) and semi-axis Rz(i) (z is in the axis of rotation and the axis of the cylinder, for the first shell Rz is half of the cylinder height) and the corresponding electron-density c(i) (between R(i) and R(i-1)). For Nr points I(h) from q = q1 to qz with a scaling factor f will be calculated. P is the number of points used for the numerical integration. The values are listed in q vs I(q) or q vs log(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)
shells
6
5
4
3
2
1
f
P
51
101
201
301
401
501
Nr
q
1
q
z
R(1)
Rz(1)
c(1)
R(2)
Rz(2)
c(2)
R(3)
Rz(3)
c(3)
R(4)
Rz(4)
c(4)
R(5)
Rz(5)
c(5)
R(6)
Rz(6)
c(6)
q vs I(q)
q vs log I(q)
I(q)-plot
Author:
M.Kriechbaum
, TU-Graz (2012), e-mail:
manfred.kriechbaum@tugraz.at