mailr8733 - /branches/relax_disp/specific_fns/relax_disp.py


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

Header


Content

Posted by sebastien . morin . 1 on February 04, 2009 - 17:26:
Author: semor
Date: Wed Feb  4 17:26:10 2009
New Revision: 8733

URL: http://svn.gna.org/viewcvs/relax?rev=8733&view=rev
Log:
Fixed an import (as well as a few comments).

This however introduces an error concerning the 'chi2' being undefined in the 
C module for
relaxation dispersion...


Modified:
    branches/relax_disp/specific_fns/relax_disp.py

Modified: branches/relax_disp/specific_fns/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/specific_fns/relax_disp.py?rev=8733&r1=8732&r2=8733&view=diff
==============================================================================
--- branches/relax_disp/specific_fns/relax_disp.py (original)
+++ branches/relax_disp/specific_fns/relax_disp.py Wed Feb  4 17:26:10 2009
@@ -39,14 +39,14 @@
 
 # C modules.
 if C_module_exp_fn:
-    from maths_fns.relax_fit import setup, func, dfunc, d2func, back_calc_I
+    from maths_fns.relax_disp import setup, func, dfunc, d2func, back_calc_I
 
 
 class Relax_disp(Common_functions):
     """Class containing functions for relaxation dispersion curve fitting."""
 
     def assemble_param_vector(self, spin=None, sim_index=None):
-        """Assemble the dispersion relaxation dispersion curve-fitting 
parameter vector (as a numpy array).
+        """Assemble the dispersion relaxation dispersion curve fitting 
parameter vector (as a numpy array).
 
         @keyword spin:          The spin data container.
         @type spin:             SpinContainer instance
@@ -228,7 +228,7 @@
         # Create a scaling matrix.
         scaling_matrix = self.assemble_scaling_matrix(spin=spin, 
scaling=False)
 
-        # Initialise the relaxation fit functions.
+        # Initialise the relaxation dispersion fit functions.
         setup(num_params=len(spin.params), num_times=len(cdp.cpmg_frqs), 
values=spin.intensities, sd=spin.intensity_err, cpmg_frqs=cdp.cpmg_frqs, 
scaling_matrix=scaling_matrix)
 
         # Make a single function call.  This will cause back calculation and 
the data will be stored in the C module.




Related Messages


Powered by MHonArc, Updated Wed Feb 04 17:40:01 2009