mail[bug #23186] Error calculation of individual parameter "dw" from Monte-Carlo, is based on first spin.


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

Header


Content

Posted by Edward d Auvergne on January 14, 2015 - 15:46:
Follow-up Comment #6, bug #23186 (project relax):

I would suggest the following (which would require a lot of testing and
checking, as it may kill the R2eff model):

$ svn diff specific_analyses/relax_disp/api.py
Index: specific_analyses/relax_disp/api.py
===================================================================
--- specific_analyses/relax_disp/api.py (revision 27163)
+++ specific_analyses/relax_disp/api.py (working copy)
@@ -1485,8 +1485,10 @@
         # Convert the parameter index.
         if model_param:
             param_name, si, mi = param_index_to_param_info(index=index,
spins=spins)
-            if not param_name in ['r2eff', 'i0']:
+            if param_name in ['r2eff', 'i0']:
                 si = 0
+            elif si == None:
+                si = 0
         else:
             param_name = aux_params[index - total_param_num]
             si = 0

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23186>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Wed Jan 14 16:20:20 2015