mailr7170 - /branches/rdc_analysis/specific_fns/n_state_model.py


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

Header


Content

Posted by edward on August 12, 2008 - 12:10:
Author: bugman
Date: Tue Aug 12 12:10:38 2008
New Revision: 7170

URL: http://svn.gna.org/viewcvs/relax?rev=7170&view=rev
Log:
Scaled the PCS value from ppm to no units.


Modified:
    branches/rdc_analysis/specific_fns/n_state_model.py

Modified: branches/rdc_analysis/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/specific_fns/n_state_model.py?rev=7170&r1=7169&r2=7170&view=diff
==============================================================================
--- branches/rdc_analysis/specific_fns/n_state_model.py (original)
+++ branches/rdc_analysis/specific_fns/n_state_model.py Tue Aug 12 12:10:38 
2008
@@ -455,6 +455,9 @@
             for state_index in xrange(len(unit_vect[spin_index])):
                 # Store the unit vector.
                 unit_vect_numpy[spin_index, state_index] = 
unit_vect[spin_index][state_index]
+
+        # Convert the PCS from ppm to no units.
+        pcs_numpy = pcs_numpy * 1e-6
 
         # Return the data structures.
         return pcs_numpy, unit_vect_numpy, array(pcs_const)




Related Messages


Powered by MHonArc, Updated Tue Aug 12 12:20:13 2008