mailr16728 - /1.3/generic_fns/bruker.py


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

Header


Content

Posted by edward on June 07, 2012 - 15:35:
Author: bugman
Date: Thu Jun  7 15:35:54 2012
New Revision: 16728

URL: http://svn.gna.org/viewcvs/relax?rev=16728&view=rev
Log:
Bug fix for the bruker.read user function for reading Bruker Dynamics Centre 
files.

The spectrometer frequency needs to be converted from MHz to Hz!


Modified:
    1.3/generic_fns/bruker.py

Modified: 1.3/generic_fns/bruker.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/bruker.py?rev=16728&r1=16727&r2=16728&view=diff
==============================================================================
--- 1.3/generic_fns/bruker.py (original)
+++ 1.3/generic_fns/bruker.py Thu Jun  7 15:35:54 2012
@@ -143,9 +143,9 @@
             elif search('NOE', row[1]):
                 ri_type = 'NOE'
 
-        # Get the frequency.
+        # Get the frequency, converting to Hz.
         elif row[0] == 'Proton frequency[MHz]:':
-            frq = float(row[1])
+            frq = float(row[1]) * 1e6
 
         # Inside the relaxation data section.
         elif row[0] == 'SECTION:' and row[1] == 'results':




Related Messages


Powered by MHonArc, Updated Thu Jun 07 16:00:02 2012