mailr6989 - /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 July 28, 2008 - 16:09:
Author: bugman
Date: Mon Jul 28 15:17:00 2008
New Revision: 6989

URL: http://svn.gna.org/viewcvs/relax?rev=6989&view=rev
Log:
Passed the data_type variable into the __disassemble_param_vector() method.


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=6989&r1=6988&r2=6989&view=diff
==============================================================================
--- branches/rdc_analysis/specific_fns/n_state_model.py (original)
+++ branches/rdc_analysis/specific_fns/n_state_model.py Mon Jul 28 15:17:00 
2008
@@ -159,6 +159,8 @@
         data structures.  For the population N-state model, only the 
probabilities are stored.  If
         RDCs are present and alignment tensors are optimised, then these are 
stored as well.
 
+        @keyword data_type: The type of data used in the optimisation - 
either 'rdc' or 'tensor'.
+        @type data_type:    str
         @keyword param_vector:  The parameter vector returned from 
optimisation.
         @type param_vector:     numpy array
         @keyword sim_index:     The index of the simulation to optimise.  
This should be None if
@@ -168,9 +170,6 @@
 
         # Alias the current data pipe.
         cdp = ds[ds.current_pipe]
-
-        # Determine the data type.
-        data_type = self.__determine_data_type()
 
         # Unpack and strip off the alignment tensor parameters.
         if data_type == 'rdc':
@@ -792,7 +791,7 @@
             param_vector = dot(scaling_matrix, param_vector)
 
         # Disassemble the parameter vector.
-        self.__disassemble_param_vector(param_vector=param_vector, 
sim_index=sim_index)
+        self.__disassemble_param_vector(param_vector=param_vector, 
data_type=data_type, sim_index=sim_index)
 
         # Monte Carlo minimisation statistics.
         if sim_index != None:




Related Messages


Powered by MHonArc, Updated Mon Jul 28 17:40:09 2008