mailr24617 - /branches/zooming_grid_search/specific_analyses/parameter_object.py


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

Header


Content

Posted by edward on July 22, 2014 - 15:55:
Author: bugman
Date: Tue Jul 22 15:55:57 2014
New Revision: 24617

URL: http://svn.gna.org/viewcvs/relax?rev=24617&view=rev
Log:
Created the specific analysis parameter object _add_align_tensor() method.

When called by a specific analysis, this will add the [Axx, Ayy, Axy, Axz, 
Ayz] parameters to the
corresponding parameter object.


Modified:
    branches/zooming_grid_search/specific_analyses/parameter_object.py

Modified: branches/zooming_grid_search/specific_analyses/parameter_object.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/zooming_grid_search/specific_analyses/parameter_object.py?rev=24617&r1=24616&r2=24617&view=diff
==============================================================================
--- branches/zooming_grid_search/specific_analyses/parameter_object.py  
(original)
+++ branches/zooming_grid_search/specific_analyses/parameter_object.py  Tue 
Jul 22 15:55:57 2014
@@ -175,6 +175,72 @@
         self._add('rdc', scope='spin', grace_string='Residual dipolar 
coupling', units='Hz', desc='The residual dipolar coupling (RDC)', 
py_type=float)
 
 
+    def _add_align_tensor(self):
+        """Add the alignment tensor parameters."""
+
+        # Add the parameters.
+        self._add(
+            'Axx',
+            scope = 'global',
+            desc = 'The Axx component of the alignment tensor',
+            py_type = float,
+            set = 'params',
+            grid_lower = -1e-3,
+            grid_upper = 1e-3,
+            grace_string = '\qA\sxx\N',
+            err = True,
+            sim = True
+        )
+        self._add(
+            'Ayy',
+            scope = 'global',
+            desc = 'The Ayy component of the alignment tensor',
+            py_type = float,
+            set = 'params',
+            grid_lower = -1e-3,
+            grid_upper = 1e-3,
+            grace_string = '\qA\syy\N',
+            err = True,
+            sim = True
+        )
+        self._add(
+            'Axy',
+            scope = 'global',
+            desc = 'The Axy component of the alignment tensor',
+            py_type = float,
+            set = 'params',
+            grid_lower = -1e-3,
+            grid_upper = 1e-3,
+            grace_string = '\qA\sxy\N',
+            err = True,
+            sim = True
+        )
+        self._add(
+            'Axz',
+            scope = 'global',
+            desc = 'The Axz component of the alignment tensor',
+            py_type = float,
+            set = 'params',
+            grid_lower = -1e-3,
+            grid_upper = 1e-3,
+            grace_string = '\qA\sxz\N',
+            err = True,
+            sim = True
+        )
+        self._add(
+            'Ayz',
+            scope = 'global',
+            desc = 'The Ayz component of the alignment tensor',
+            py_type = float,
+            set = 'params',
+            grid_lower = -1e-3,
+            grid_upper = 1e-3,
+            grace_string = '\qA\syz\N',
+            err = True,
+            sim = True
+        )
+
+
     def _add_csa(self, default=None, set='fixed', err=False, sim=False):
         """Add the CSA parameter 'csa'.
 




Related Messages


Powered by MHonArc, Updated Tue Jul 22 16:20:02 2014