I(h) function calculator
This Javascript calculates the scattering curve I(h) of models consisting of up to 8 spheres with different x/y/z coordinates and optionally different radii and different electron densities using the Debye-formula in reciprocal space. Enter the number of spheres, their coordinates x(i), y(i), z(i), their radii r(i) and their electron-densities c(i). The spheres can also overlap (totally or partially) where the resulting electron density of the overlapping region is the sum of the overlapping electron densities. For N points the scattering curve from h = 0 to hz with a scaling factor f (optionally also in a logarithmic intensity scale) will be calculated. The values are listed in h vs I(h) or 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)
action
hz
n
f
x(1)
y(1)
z(1)
r(1)
c(1)
x(2)
y(2)
z(2)
r(2)
c(2)
x(3)
y(3)
z(3)
r(3)
c(3)
x(4)
y(4)
z(4)
r(4)
c(4)
x(5)
y(5)
z(5)
r(5)
c(5)
x(6)
y(6)
z(6)
r(6)
c(6)
x(7)
y(7)
z(7)
r(7)
c(7)
x(8)
y(8)
z(8)
r(8)
c(8)
spheres
8
7
6
5
4
3
2
1
I(h)
log I(h)
R
_{g}
Author:
M.Kriechbaum
, IBR (2003), e-mail:
manfred.kriechbaum@oeaw.ac.at