Author: tlinnet
Date: Sun Dec  7 13:12:57 2014
New Revision: 26989

URL: http://svn.gna.org/viewcvs/relax?rev=26989&view=rev
Log:
Small fix for the back-end of spectrum sn_ratio_selection() and 
sn_ratio_deselection().

The standard values have been changed.

Modified:
    trunk/pipe_control/spectrum.py

Modified: trunk/pipe_control/spectrum.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/pipe_control/spectrum.py?rev=26989&r1=26988&r2=26989&view=diff
==============================================================================
--- trunk/pipe_control/spectrum.py      (original)
+++ trunk/pipe_control/spectrum.py      Sun Dec  7 13:12:57 2014
@@ -940,7 +940,7 @@
             write_data(out=sys.stdout, headings=["Spectrum ID", "Signal", 
"Noise", "S/N"], data=data_i)
 
 
-def sn_ratio_deselection(ratio=1.0, operation='<', all_sn=False, select=False, 
verbose=True):
+def sn_ratio_deselection(ratio=10.0, operation='<', all_sn=False, 
select=False, verbose=True):
     """Use user function deselect.spin on spins with signal to noise ratio 
higher or lower than ratio.  The operation determines the selection operation.
 
     @keyword ratio:         The ratio to compare to.
@@ -1080,7 +1080,7 @@
             print(spin_ids)
 
 
-def sn_ratio_selection(ratio=1.0, operation='<', all_sn=False, verbose=True):
+def sn_ratio_selection(ratio=10.0, operation='>', all_sn=True, verbose=True):
     """Use user function select.spin on spins with signal to noise ratio 
higher or lower than ratio.  The operation determines the selection operation.
 
     @keyword ratio:         The ratio to compare to.


_______________________________________________
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

Reply via email to