mailr25223 - /trunk/specific_analyses/relax_disp/data.py


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

Header


Content

Posted by tlinnet on August 22, 2014 - 16:27:
Author: tlinnet
Date: Fri Aug 22 16:27:19 2014
New Revision: 25223

URL: http://svn.gna.org/viewcvs/relax?rev=25223&view=rev
Log:
Moved the storing of relax time up before check of missing data in 
return_r2eff_arrays().

bug #22461(https://gna.org/bugs/?22461): NS R1rho 2-site_fit_r1 has extremely 
high chi2 value in systemtest Relax_disp.test_r1rho_kjaergaard_missing_r1.

Modified:
    trunk/specific_analyses/relax_disp/data.py

Modified: trunk/specific_analyses/relax_disp/data.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/relax_disp/data.py?rev=25223&r1=25222&r2=25223&view=diff
==============================================================================
--- trunk/specific_analyses/relax_disp/data.py  (original)
+++ trunk/specific_analyses/relax_disp/data.py  Fri Aug 22 16:27:19 2014
@@ -4476,6 +4476,10 @@
                 frqs[ei][si][mi] = 2.0 * pi * frq / g1H * 
return_gyromagnetic_ratio(spin.isotope) * 1e-6
                 frqs_H[ei][si][mi] = 2.0 * pi * frq * 1e-6
 
+            # The relaxation times.
+            for time, ti in loop_time(exp_type=exp_type, frq=frq, 
offset=offset, point=point, return_indices=True):
+                relax_times[ei][mi][oi][di].append(time)
+
             # Missing data.
             if key not in current_spin.r2eff.keys():
                 values[ei][si][mi][oi].append(0.0)
@@ -4493,10 +4497,6 @@
 
             # The errors.
             errors[ei][si][mi][oi].append(current_spin.r2eff_err[key])
-
-            # The relaxation times.
-            for time, ti in loop_time(exp_type=exp_type, frq=frq, 
offset=offset, point=point, return_indices=True):
-                relax_times[ei][mi][oi][di].append(time)
 
         # Increment the spin index.
         si += 1




Related Messages


Powered by MHonArc, Updated Fri Aug 22 16:40:03 2014