From 41ac0c26a148d5b597e90133aa783655033d2e39 Mon Sep 17 00:00:00 2001 From: devicerandom Date: Wed, 7 Jan 2009 15:11:33 +0000 Subject: [PATCH] (autopeak.py) prints measurements before AND after choosing peaks --- autopeak.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/autopeak.py b/autopeak.py index 859c318..4e97696 100644 --- a/autopeak.py +++ b/autopeak.py @@ -276,6 +276,13 @@ class autopeakCommands: self._send_plot([fitplot]) #self.do_peaks('') + print 'Measurements for all peaks detected:' + print 'contour (nm)', c_lengths + print 'sigma contour (nm)',sigma_c_lengths + print 'p (nm)',p_lengths + print 'sigma p (nm)',sigma_p_lengths + print 'forces (pN)',forces + print 'slopes (N/m)',slopes #Ask the user what peaks to ignore from analysis. print 'Peaks to ignore (0,1...n from contact point,return to take all)' @@ -306,6 +313,7 @@ class autopeakCommands: sigma_c_lengths=[item for item in sigma_c_lengths if item != None] sigma_p_lengths=[item for item in sigma_p_lengths if item != None] + print 'Measurements for chosen peaks:' print 'contour (nm)',c_lengths print 'sigma contour (nm)',sigma_c_lengths print 'p (nm)',p_lengths -- 2.26.2