Got FJC drawing right.
authordevicerandom <devnull@localhost>
Sat, 31 Oct 2009 22:23:58 +0000 (22:23 +0000)
committerdevicerandom <devnull@localhost>
Sat, 31 Oct 2009 22:23:58 +0000 (22:23 +0000)
fit.py

diff --git a/fit.py b/fit.py
index e1e78d78fd2ad0219d5ba23ee8ad390315cbf659..beab7e9efb17f45c97272361355cfb609c184834 100755 (executable)
--- a/fit.py
+++ b/fit.py
@@ -317,8 +317,8 @@ class fitCommands:
         xfit_chunk_corr_up=[-(x-clicked_points[0].graph_coords[0]) for x in xfit]
         
         #xfit_chunk_corr_up=scipy.array(xfit_chunk_corr_up)
-               
-        
+        deltay=yfit_down[0]-yvector[clicked_points[0].index]
+        yfit_corr_down=[y-deltay for y in yfit_down]
         
         #print yfit_chunk_corr_up
         #print xfit_corr_down