Script execution
This commit is contained in:
@@ -126,9 +126,9 @@ finally:
|
||||
# take the result of the scan and do the plots
|
||||
#p = plot(r.getReadable(1), xdata=r.getReadable(0), title = "Centroid excursion")[0]
|
||||
#hull=add_convex_hull_plot ("Centroid excursion", r.getReadable(0),r.getReadable(1), plot_name, False, (0,cam_img._width), (0,cam_img._height))
|
||||
if add_convex_hull_plot:
|
||||
if centroid_excursion_plot:
|
||||
(hx,hy)=add_convex_hull_plot ("Centroid excursion", r.getReadable(0),r.getReadable(1), plot_name)
|
||||
else:
|
||||
else:
|
||||
(hx,hy)= convex_hull(x=r.getReadable(0), y=r.getReadable(1))
|
||||
hx.append(hx[0]); hy.append(hy[0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user