(autopeak.py) prints measurements before AND after choosing peaks
authordevicerandom <devnull@localhost>
Wed, 7 Jan 2009 15:11:33 +0000 (15:11 +0000)
committerdevicerandom <devnull@localhost>
Wed, 7 Jan 2009 15:11:33 +0000 (15:11 +0000)
autopeak.py

index 859c3189d54873b150db3d202a41f59c8d2b762f..4e97696d40e06141d6262e6c6d8bfaf6a3c33d6b 100644 (file)
@@ -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