mailr5610 - /1.3/generic_fns/palmer.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by sebastien . morin . 1 on April 12, 2008 - 23:47:
Author: semor
Date: Sat Apr 12 23:47:07 2008
New Revision: 5610

URL: http://svn.gna.org/viewcvs/relax?rev=5610&view=rev
Log:
Changed the nucleus type and gyromagnetic ratio handling to the new design.

This is similar as in "specific_fns/model_free/mf_minimise.py" (line 1154, 
r5603) and as explained
in a post by Edward d'Auvergne at:
https://mail.gna.org/public/relax-devel/2008-04/msg00055.html (# Message-id:
<1208028698.8064.23.camel@localhost>)


Modified:
    1.3/generic_fns/palmer.py

Modified: 1.3/generic_fns/palmer.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/palmer.py?rev=5610&r1=5609&r2=5610&view=diff
==============================================================================
--- 1.3/generic_fns/palmer.py (original)
+++ 1.3/generic_fns/palmer.py Sat Apr 12 23:47:07 2008
@@ -393,8 +393,8 @@
 
         file.write('%-14s' % "constants")
         file.write('%-6i' % spin.num)
-        file.write('%-7s' % self.heteronuc_type)
-        file.write('%-8.4f' % (cdp.gx / 1e7))
+        file.write('%-7s' % spin.heteronuc_type)
+        file.write('%-8.4f' % 
([return_gyromagnetic_ratio(spin.heteronuc_type)] / 1e7))
         file.write('%-8.3f' % (spin.r * 1e10))
         file.write('%-8.3f\n' % (spin.csa * 1e6))
 




Related Messages


Powered by MHonArc, Updated Sun Apr 13 11:20:16 2008