mailr4467 - /branches/consistency_tests_1.3/prompt/consistency_tests.py


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

Header


Content

Posted by sebastien . morin . 1 on January 07, 2008 - 22:17:
Author: semor
Date: Mon Jan  7 22:17:10 2008
New Revision: 4467

URL: http://svn.gna.org/viewcvs/relax?rev=4467&view=rev
Log:
Modified the consistency tests prompt so it is not a simple copy of the jw 
mapping code anymore.


Modified:
    branches/consistency_tests_1.3/prompt/consistency_tests.py

Modified: branches/consistency_tests_1.3/prompt/consistency_tests.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/consistency_tests_1.3/prompt/consistency_tests.py?rev=4467&r1=4466&r2=4467&view=diff
==============================================================================
--- branches/consistency_tests_1.3/prompt/consistency_tests.py (original)
+++ branches/consistency_tests_1.3/prompt/consistency_tests.py Mon Jan  7 
22:17:10 2008
@@ -27,11 +27,12 @@
 from relax_errors import RelaxStrError
 
 
-class Jw_mapping:
+class Consistency_tests:
     def __init__(self, relax):
         # Help.
         self.__relax_help__ = \
-        """Class containing functions specific to reduced spectral density 
mapping."""
+        """Class containing functions specific to consistency tests for 
datasets from different
+        fields."""
 
         # Add the generic help string.
         self.__relax_help__ = self.__relax_help__ + "\n" + 
help.relax_class_help
@@ -41,7 +42,7 @@
 
 
     def set_frq(self, run=None, frq=None):
-        """Function for selecting which relaxation data to use in the J(w) 
mapping.
+        """Function for selecting which relaxation data to use in the 
consistency tests.
 
         Keyword Arguments
         ~~~~~~~~~~~~~~~~~
@@ -54,20 +55,20 @@
         Description
         ~~~~~~~~~~~
 
-        This function will select the relaxation data to use in the reduced 
spectral density mapping
-        corresponding to the given frequency.
+        This function will select the relaxation data to use in the 
consistency tests corresponding
+        to the given frequencies.
 
 
         Examples
         ~~~~~~~~
 
-        relax> jw_mapping.set_frq('jw', 600.0 * 1e6)
-        relax> jw_mapping.set_frq(run='jw', frq=600.0 * 1e6)
+        relax> consistency_tests.set_frq('ct', 600.0 * 1e6)
+        relax> consistency_tests.set_frq(run='ct', frq=600.0 * 1e6)
         """
 
         # Function intro text.
         if self.__relax__.interpreter.intro:
-            text = sys.ps3 + "jw_mapping.set_frq("
+            text = sys.ps3 + "consistency_tests.set_frq("
             text = text + "run=" + `run`
             text = text + ", frq=" + `frq` + ")"
             print text
@@ -81,4 +82,4 @@
             raise RelaxStrError, ('frq', frq)
 
         # Execute the functional code.
-        self.__relax__.specific.jw_mapping.set_frq(run=run, frq=frq)
+        self.__relax__.specific.consistency_tests.set_frq(run=run, frq=frq)




Related Messages


Powered by MHonArc, Updated Mon Jan 07 23:40:09 2008