mailRe: r26978 - /trunk/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 d'Auvergne on December 06, 2014 - 17:17:
Perfect place to put this - now all analyses can take advantage of it :)

Cheers,

Edward


On 6 December 2014 at 15:19,  <tlinnet@xxxxxxxxxxxxx> wrote:
Author: tlinnet
Date: Sat Dec  6 15:19:48 2014
New Revision: 26978

URL: http://svn.gna.org/viewcvs/relax?rev=26978&view=rev
Log:
Added the common API Parameter structure 'sn_ratio' in parameter_object.

Modified:
    trunk/specific_analyses/parameter_object.py

Modified: trunk/specific_analyses/parameter_object.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/specific_analyses/parameter_object.py?rev=26978&r1=26977&r2=26978&view=diff
==============================================================================
--- trunk/specific_analyses/parameter_object.py (original)
+++ trunk/specific_analyses/parameter_object.py Sat Dec  6 15:19:48 2014
@@ -673,6 +673,19 @@
         )


+    def _add_sn_ratio(self):
+        """Add the signal to noise ratio structure 'sn_ratio'."""
+
+        # Add the peak intensity structure.
+        self._add(
+            'sn_ratio',
+            scope = 'spin',
+            desc = 'The signal to noise ratios',
+            py_type = dict,
+            grace_string = '\\qS/N ratio\\Q'
+        )
+
+
     def _set_uf_title(self, title):
         """Set the title for the user function documentation.



_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-commits mailing list
relax-commits@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits



Related Messages


Powered by MHonArc, Updated Sun Dec 07 16:40:09 2014