mailr4800 - /branches/N_state_model/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 16, 2008 - 18:06:
Author: bugman
Date: Wed Jan 16 18:06:14 2008
New Revision: 4800

URL: http://svn.gna.org/viewcvs/relax?rev=4800&view=rev
Log:
The probability and Euler angle arrays are now initialised by the 
model_setup() function.


Modified:
    branches/N_state_model/specific_fns/n_state_model.py

Modified: branches/N_state_model/specific_fns/n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/N_state_model/specific_fns/n_state_model.py?rev=4800&r1=4799&r2=4800&view=diff
==============================================================================
--- branches/N_state_model/specific_fns/n_state_model.py (original)
+++ branches/N_state_model/specific_fns/n_state_model.py Wed Jan 16 18:06:14 
2008
@@ -422,6 +422,12 @@
             cdp.params.append('beta' + `i`)
             cdp.params.append('gamma' + `i`)
 
+        # Initialise the probability and Euler angle arrays.
+        cdp.probs = [None] * cdp.N
+        cdp.alpha = [None] * cdp.N
+        cdp.beta = [None] * cdp.N
+        cdp.gamma = [None] * cdp.N
+
 
     def param_num(self):
         """Function for determining the number of parameters in the model.




Related Messages


Powered by MHonArc, Updated Wed Jan 16 19:00:17 2008