From: devicerandom Date: Wed, 7 Jan 2009 15:11:33 +0000 (+0000) Subject: (autopeak.py) prints measurements before AND after choosing peaks X-Git-Tag: 0.9.0~58 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=614315abdd78540fc2344332bfb4725b4cb5e2a3;p=hooke.git (autopeak.py) prints measurements before AND after choosing peaks --- 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