mailr7906 - /branches/spectral_errors/prompt/spectrum.py


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

Header


Content

Posted by edward on October 22, 2008 - 11:25:
Author: bugman
Date: Wed Oct 22 11:25:22 2008
New Revision: 7906

URL: http://svn.gna.org/viewcvs/relax?rev=7906&view=rev
Log:
Renamed spectrum.error() to spectrum.baseplane_rmsd().


Modified:
    branches/spectral_errors/prompt/spectrum.py

Modified: branches/spectral_errors/prompt/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/spectral_errors/prompt/spectrum.py?rev=7906&r1=7905&r2=7906&view=diff
==============================================================================
--- branches/spectral_errors/prompt/spectrum.py (original)
+++ branches/spectral_errors/prompt/spectrum.py Wed Oct 22 11:25:22 2008
@@ -42,13 +42,13 @@
         self.__relax__ = relax
 
 
-    def error(self, error=0.0, spectrum_id=None, spin_id=None):
-        """Function for setting the intensity error (standard deviation) in 
the given spectrum.
+    def baseplane_rmsd(self, error=0.0, spectrum_id=None, spin_id=None):
+        """Set the baseplane RMSD of a given spin in a spectrum for error 
analysis.
 
         Keyword Arguments
         ~~~~~~~~~~~~~~~~~
 
-        error:  The error.
+        error:  The baseplane RMSD error value.
 
         spectrum_id:  The spectrum identification string.
 
@@ -65,7 +65,7 @@
 
         # Function intro text.
         if self.__relax__.interpreter.intro:
-            text = sys.ps3 + "spectrum.error("
+            text = sys.ps3 + "spectrum.baseplane_rmsd("
             text = text + "error=" + `error`
             text = text + ", spectrum_id=" + `spectrum_id`
             text = text + ", spin_id=" + `spin_id` + ")"
@@ -84,7 +84,7 @@
             raise RelaxNoneStrError, ('spin identification string', spin_id)
 
         # Execute the functional code.
-        spectrum.set_error(error=error, spectrum_id=spectrum_id, 
spin_id=spin_id)
+        spectrum.baseplane_rmsd(error=error, spectrum_id=spectrum_id, 
spin_id=spin_id)
 
 
     def error_analysis(self):




Related Messages


Powered by MHonArc, Updated Wed Oct 22 11:40:02 2008