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
[email protected]
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