Radius of gyration calculator

This Javascript calculates the Radius of Gyration of concentric shell models. Enter the number of shells, the lengths of the respective semi-axis Rx(i), Ry(i) and Rz(i) (z is in the axis of rotation) and the corresponding electron-density c(i) between R(i-1) <= R(i), with R(1) being the innermost shell and R(n) the outermost shell, respectively. The values of the radius of gyration Rg and of the zero-angle intensity I(0), respectively, will be calculated. Units are arbitrary and in metric dimensions (usually in Å or nm). In case of models extending infinitely in the 3rd dimension, Rg of the cross-section (circle, ellipse or rectangle, Rz is set to 0), and in case of models spreading infinitely in two dimensions, Rg of the thickness (line, Rx and Ry are set to 0) will be calculated, respectively. In case of a torus, Rz is defined as the semi-axis of the torus (Rzb/Rza ratio of the two semi-axes), with the semi-axes of the tubular cross-section (o: round, #:rectangular) of the torus Rx(i) parallel to Rz and Ry(i) normal to Rz.

Input Radius of Gyration
Rx(1) Ry(1) Rz(1) c(1)
Rx(2) Ry(2) Rz(2) c(2)
Rx(3) Ry(3) Rz(3) c(3)
Rx(4) Ry(4) Rz(4) c(4)
Rx(5) Ry(5) Rz(5) c(5)
Rx(6) Ry(6) Rz(6) c(6)
Rx(7) Ry(7) Rz(7) c(7)
Rx(8) Ry(8) Rz(8) c(8)
number of shells
ellipsoid ellipse
cuboid rectangle
cylinder line
torus (o) torus (#)
torus (Rzb/Rza)

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