Make your own free website on Tripod.com
I(h) function calculator
This Javascript calculates the scattering curve I(h) of concentric shell models (ellipsoid or 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 corresponding electron-density c(i) (between R(i) and R(i-1)). For Nr points I(h) from h = h1 to hz with a scaling factor f will be calculated. P is the number of points used for the numerical integration. The values are listed in h vs I(h) or h vs log(I(h)) in arbitrary units and can be copied and pasted from the window into any text-file for further processing and graphical displaying.

Input I(h)
shells f P
Nr h1 hz
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)

ellipsoid
cylinder
h vs I(h)
h vs log I(h)
Rg

Author: M.Kriechbaum, IBR (2000), e-mail: manfred.kriechbaum@oeaw.ac.at