mailr22746 - /trunk/sample_scripts/n_state_model/two_domain.py


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

Header


Content

Posted by edward on April 14, 2014 - 18:19:
Author: bugman
Date: Mon Apr 14 18:19:44 2014
New Revision: 22746

URL: http://svn.gna.org/viewcvs/relax?rev=22746&view=rev
Log:
Updated the two_domain.py N-state model sample script.

The value setting for the N-state model is now handled differently.


Modified:
    trunk/sample_scripts/n_state_model/two_domain.py

Modified: trunk/sample_scripts/n_state_model/two_domain.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/sample_scripts/n_state_model/two_domain.py?rev=22746&r1=22745&r2=22746&view=diff
==============================================================================
--- trunk/sample_scripts/n_state_model/two_domain.py    (original)
+++ trunk/sample_scripts/n_state_model/two_domain.py    Mon Apr 14 18:19:44 
2014
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2011 Edward d'Auvergne                                       
 #
+# Copyright (C) 2011-2014 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -103,10 +103,10 @@
 n_state_model.model(N=5, ref='C')
 
 # Set the initial parameter values to the actual values (the grid search is 
impossibly large).
-value.set([  0.26685287,   0.07816268,   0.19105772,   0.23598687,   
0.22793986], ['p0', 'p1', 'p2', 'p3', 'p4'])
-value.set([ -0.43017117,   3.19650016,  -0.61738298,   0.80737988,   
1.66687706], ['alpha0', 'alpha1', 'alpha2', 'alpha3', 'alpha4'])
-value.set([  3.80965887,   0.68001535,   1.87238680,   1.48347412,   
4.34470497], ['beta0', 'beta1', 'beta2', 'beta3', 'beta4'])
-value.set([  0.43465176,   2.59328881,  -5.45779788,  -3.09774689,   
0.86388922], ['gamma0', 'gamma1', 'gamma2', 'gamma3', 'gamma4'])
+value.set([  0.26685287,   0.07816268,   0.19105772,   0.23598687,   
0.22793986], 'probs', index=[0, 1, 2, 3, 4])
+value.set([ -0.43017117,   3.19650016,  -0.61738298,   0.80737988,   
1.66687706], 'alpha', index=[0, 1, 2, 3, 4])
+value.set([  3.80965887,   0.68001535,   1.87238680,   1.48347412,   
4.34470497], 'beta', index=[0, 1, 2, 3, 4])
+value.set([  0.43465176,   2.59328881,  -5.45779788,  -3.09774689,   
0.86388922], 'gamma', index=[0, 1, 2, 3, 4])
 
 # Load the PDB file.
 structure.read_pdb('1J7O.pdb', model=2)




Related Messages


Powered by MHonArc, Updated Mon Apr 14 18:40:02 2014