I(q) function calculator
This Javascript calculates the scattering curve I(q) of concentric shell models (ellipsoids or cylinders). Enter the number of shells, the values for the radius R(i) and semi-axis Rz(i) (z is in direction of the axis of revolution of the ellipsoid or in the direction of the cylinder axis, note: Rz is half of the cylinder height!), the corresponding electron-density c(i) (between R(i) and R(i-1)) and the shape of the shell (E=ellipsoid, C=cylinder), starting with the innermost shell (R1 and Rz1). 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 8 7 6 5 4 3 2 1 f P 51 101 201 301 401 501 Nr q1 qz R(1) Rz(1) c(1) E C R(2) Rz(2) c(2) E C R(3) Rz(3) c(3) E C R(4) Rz(4) c(4) E C R(5) Rz(5) c(5) E C R(6) Rz(6) c(6) E C R(7) Rz(7) c(7) E C R(8) Rz(8) c(8) E C

 q vs I(q) q vs log I(q) Rg I0

### I(q)-plot

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