mailr15312 - /branches/frame_order_testing/specific_fns/frame_order.py


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

Header


Content

Posted by edward on February 07, 2012 - 18:45:
Author: bugman
Date: Tue Feb  7 18:45:17 2012
New Revision: 15312

URL: http://svn.gna.org/viewcvs/relax?rev=15312&view=rev
Log:
The average position alpha Euler angle has been reintroduced into the 
torsionless iso cone model.

This frame order model appears to require this parameter!


Modified:
    branches/frame_order_testing/specific_fns/frame_order.py

Modified: branches/frame_order_testing/specific_fns/frame_order.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/frame_order_testing/specific_fns/frame_order.py?rev=15312&r1=15311&r2=15312&view=diff
==============================================================================
--- branches/frame_order_testing/specific_fns/frame_order.py (original)
+++ branches/frame_order_testing/specific_fns/frame_order.py Tue Feb  7 
18:45:17 2012
@@ -122,7 +122,7 @@
         # Normal values.
         if sim_index == None:
             # Initialise the parameter array using the tensor rotation Euler 
angles (average domain position).
-            if cdp.model in ['free rotor', 'iso cone, torsionless', 'iso 
cone, free rotor']:
+            if cdp.model in ['free rotor', 'iso cone, free rotor']:
                 param_vect.append(cdp.ave_pos_beta)
                 param_vect.append(cdp.ave_pos_gamma)
             else:
@@ -159,7 +159,7 @@
         # Simulation values.
         else:
             # Initialise the parameter array using the tensor rotation Euler 
angles (average domain position).
-            if cdp.model in ['free rotor', 'iso cone, torsionless', 'iso 
cone, free rotor']:
+            if cdp.model in ['free rotor', 'iso cone, free rotor']:
                 param_vect = [cdp.ave_pos_beta_sim[sim_index], 
cdp.ave_pos_gamma_sim[sim_index]]
             else:
                 param_vect = [cdp.ave_pos_alpha_sim[sim_index], 
cdp.ave_pos_beta_sim[sim_index], cdp.ave_pos_gamma_sim[sim_index]]
@@ -419,7 +419,7 @@
         # Skip models missing a cone.
         if cdp.model not in ['rotor', 'free rotor']:
             # The rotation matrix (rotation from the z-axis to the cone 
axis).
-            if cdp.model not in ['iso cone', 'iso cone, torsionless', 'iso 
cone, free rotor']:
+            if cdp.model not in ['iso cone', 'iso cone, free rotor']:
                 R = axes
             else:
                 R = zeros((3, 3), float64)
@@ -889,7 +889,7 @@
             num += 3
 
         # Average domain position parameters.
-        if cdp.model in ['free rotor', 'iso cone, torsionless', 'iso cone, 
free rotor']:
+        if cdp.model in ['free rotor', 'iso cone, free rotor']:
             num += 2
         else:
             num += 3
@@ -1184,7 +1184,7 @@
             cdp.params.append('pivot_z')
 
         # The tensor rotation, or average domain position.
-        if cdp.model not in ['free rotor', 'iso cone, torsionless', 'iso 
cone, free rotor']:
+        if cdp.model not in ['free rotor', 'iso cone, free rotor']:
             cdp.params.append('ave_pos_alpha')
         cdp.params.append('ave_pos_beta')
         cdp.params.append('ave_pos_gamma')
@@ -1278,8 +1278,7 @@
         elif cdp.model == 'iso cone':
             ave_pos_alpha, ave_pos_beta, ave_pos_gamma, axis_theta, 
axis_phi, cone_theta, cone_sigma_max = param_vector
         elif cdp.model in ['iso cone, torsionless']:
-            ave_pos_beta, ave_pos_gamma, axis_theta, axis_phi, cone_theta = 
param_vector
-            ave_pos_alpha = None
+            ave_pos_alpha, ave_pos_beta, ave_pos_gamma, axis_theta, 
axis_phi, cone_theta = param_vector
         elif cdp.model in ['iso cone, free rotor']:
             ave_pos_beta, ave_pos_gamma, axis_theta, axis_phi, cone_s1 = 
param_vector
             ave_pos_alpha = None
@@ -1570,7 +1569,7 @@
         # Parameters.
         if (set == 'all' or set == 'params') and hasattr(cdp, 'model'):
             # Initialise the parameter array using the tensor rotation Euler 
angles (average domain position).
-            if cdp.model not in ['free rotor', 'iso cone, torsionless', 'iso 
cone, free rotor']:
+            if cdp.model not in ['free rotor', 'iso cone, free rotor']:
                 names.append('ave_pos_alpha%s' % suffix)
             names.append('ave_pos_beta%s' % suffix)
             names.append('ave_pos_gamma%s' % suffix)




Related Messages


Powered by MHonArc, Updated Tue Feb 07 19:00:01 2012