Author: bugman Date: Sat Mar 22 23:31:54 2008 New Revision: 5168 URL: http://svn.gna.org/viewcvs/relax?rev=5168&view=rev Log: Better epydoc support for the equations and title of the unit_axes() function. Modified: 1.3/generic_fns/diffusion_tensor.py Modified: 1.3/generic_fns/diffusion_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/diffusion_tensor.py?rev=5168&r1=5167&r2=5168&view=diff ============================================================================== --- 1.3/generic_fns/diffusion_tensor.py (original) +++ 1.3/generic_fns/diffusion_tensor.py Sat Mar 22 23:31:54 2008 @@ -1503,9 +1503,9 @@ """Function for calculating the unit axes of the diffusion tensor. Spheroid - ~~~~~~~~ - - The unit Dpar vector is + ======== + + The unit Dpar vector is:: | sin(theta) * cos(phi) | Dpar = | sin(theta) * sin(phi) | @@ -1513,21 +1513,21 @@ Ellipsoid - ~~~~~~~~~ - - The unit Dx vector is + ========= + + The unit Dx vector is:: | -sin(alpha) * sin(gamma) + cos(alpha) * cos(beta) * cos(gamma) | Dx = | -sin(alpha) * cos(gamma) - cos(alpha) * cos(beta) * sin(gamma) | | cos(alpha) * sin(beta) | - The unit Dy vector is + The unit Dy vector is:: | cos(alpha) * sin(gamma) + sin(alpha) * cos(beta) * cos(gamma) | Dy = | cos(alpha) * cos(gamma) - sin(alpha) * cos(beta) * sin(gamma) | | sin(alpha) * sin(beta) | - The unit Dz vector is + The unit Dz vector is:: | -sin(beta) * cos(gamma) | Dz = | sin(beta) * sin(gamma) |