Author: bugman
Date: Thu Nov 20 08:59:06 2014
New Revision: 26642
URL: http://svn.gna.org/viewcvs/relax?rev=26642&view=rev
Log:
Updated the align_tensor.display user function to output the irreducible
spherical harmonic weights.
This is the alignment tensor in the {A-2, A-1, A0, A1, A2} notation.
Modified:
trunk/pipe_control/align_tensor.py
Modified: trunk/pipe_control/align_tensor.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/align_tensor.py?rev=26642&r1=26641&r2=26642&view=diff
==============================================================================
--- trunk/pipe_control/align_tensor.py (original)
+++ trunk/pipe_control/align_tensor.py Thu Nov 20 08:59:06 2014
@@ -333,6 +333,25 @@
print("%s" % chi)
+ # The irreducible weights.
+ ##########################
+
+ subsection(file=sys.stdout, text="Irreducible spherical harmonic
weights", prespace=2)
+
+ # The equations.
+ print("# The equations:")
+ print("# A0 = (4pi/5)^(1/2) Szz,")
+ print("# A+/-1 = +/- (8pi/15)^(1/2)(Sxz +/- iSyz),")
+ print("# A+/-2 = (2pi/15)^(1/2)(Sxx - Syy +/- 2iSxy).")
+
+ # The parameters.
+ print("A-2 = %25.12e %25.12ei" % (data.Am2.real, data.Am2.imag))
+ print("A-1 = %25.12e %25.12ei" % (data.Am1.real, data.Am1.imag))
+ print("A0 = %25.12e" % data.A0.real)
+ print("A1 = %25.12e %25.12ei" % (data.A1.real, data.A1.imag))
+ print("A2 = %25.12e %25.12ei" % (data.A2.real, data.A2.imag))
+
+
# The Eigensystem.
##################
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits