mailr26989 - /trunk/pipe_control/spectrum.py


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

Header


Content

Posted by tlinnet on December 07, 2014 - 13:12:
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.




Related Messages


Powered by MHonArc, Updated Sun Dec 07 13:20:01 2014