mailr6987 - /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 14:37:24 2008
New Revision: 6987

URL: http://svn.gna.org/viewcvs/relax?rev=6987&view=rev
Log:
Fixed the creation of the A and b constraint matrices.


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=6987&r1=6986&r2=6987&view=diff
==============================================================================
--- branches/rdc_analysis/specific_fns/n_state_model.py (original)
+++ branches/rdc_analysis/specific_fns/n_state_model.py Mon Jul 28 14:37:24 
2008
@@ -222,11 +222,16 @@
         # Alias the current data pipe.
         cdp = ds[ds.current_pipe]
 
+        # Starting point of the populations.
+        pop_start = 0
+        if data_type == 'rdc':
+            pop_start = pop_start + 5*len(cdp.rdc_ids)
+
         # Initialisation (0..j..m).
         A = []
         b = []
         zero_array = zeros(self.param_num(), float64)
-        i = 0
+        i = pop_start
         j = 0
 
         # Loop over the prob parameters (N - 1, because the sum of pc is 1).




Related Messages


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