mailr18280 - /trunk/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 January 23, 2013 - 21:08:
Author: bugman
Date: Wed Jan 23 21:08:23 2013
New Revision: 18280

URL: http://svn.gna.org/viewcvs/relax?rev=18280&view=rev
Log:
Improved the comments in the _disassemble_param_vector() N-state model method.


Modified:
    trunk/specific_fns/n_state_model.py

Modified: trunk/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_fns/n_state_model.py?rev=18280&r1=18279&r2=18280&view=diff
==============================================================================
--- trunk/specific_fns/n_state_model.py (original)
+++ trunk/specific_fns/n_state_model.py Wed Jan 23 21:08:23 2013
@@ -580,7 +580,7 @@
             # Create a new parameter vector without the tensors.
             param_vector = param_vector[5*tensor_num:]
 
-        # Monte Carlo simulation data structures.
+        # Alias the Monte Carlo simulation data structures.
         if sim_index != None:
             # Populations.
             if cdp.model in ['2-domain', 'population']:
@@ -592,7 +592,7 @@
                 beta = cdp.beta_sim[sim_index]
                 gamma = cdp.gamma_sim[sim_index]
 
-        # Normal data structures.
+        # Alias the normal data structures.
         else:
             # Populations.
             if cdp.model in ['2-domain', 'population']:
@@ -604,7 +604,7 @@
                 beta = cdp.beta
                 gamma = cdp.gamma
 
-        # The probabilities for states 0 to N-1.
+        # Set the probabilities for states 0 to N-1 in the aliased 
structures.
         if cdp.model in ['2-domain', 'population']:
             for i in range(cdp.N-1):
                 probs[i] = param_vector[i]
@@ -612,7 +612,7 @@
             # The probability for state N.
             probs[-1] = 1 - sum(probs[0:-1])
 
-        # The Euler angles.
+        # Set the Euler angles in the aliased structures.
         if cdp.model == '2-domain':
             for i in range(cdp.N):
                 alpha[i] = param_vector[cdp.N-1 + 3*i]




Related Messages


Powered by MHonArc, Updated Wed Jan 23 21:20:02 2013