mailr19364 - /branches/relax_disp/target_functions/relax_disp.py


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

Header


Content

Posted by edward on April 04, 2013 - 16:30:
Author: bugman
Date: Thu Apr  4 16:30:01 2013
New Revision: 19364

URL: http://svn.gna.org/viewcvs/relax?rev=19364&view=rev
Log:
The scaling flag is now initialised in the relaxation dispersion target 
function class.


Modified:
    branches/relax_disp/target_functions/relax_disp.py

Modified: branches/relax_disp/target_functions/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/target_functions/relax_disp.py?rev=19364&r1=19363&r2=19364&view=diff
==============================================================================
--- branches/relax_disp/target_functions/relax_disp.py (original)
+++ branches/relax_disp/target_functions/relax_disp.py Thu Apr  4 16:30:01 
2013
@@ -86,6 +86,11 @@
         self.relax_times = relax_times
         self.scaling_matrix = scaling_matrix
 
+        # Scaling initialisation.
+        self.scaling_flag = False
+        if self.scaling_matrix != None:
+            self.scaling_flag = True
+
         # Create the structure for holding the back-calculated peak 
intensities.
         self.back_calc = zeros(num_times, float64)
 




Related Messages


Powered by MHonArc, Updated Thu Apr 04 16:40:01 2013