adding optimizer tool and found better parameters

This commit is contained in:
2019-02-26 16:48:48 +01:00
parent 966134a06d
commit 952925d25f
7 changed files with 218 additions and 28 deletions

View File

@@ -1217,7 +1217,7 @@ if __name__=='__main__':
gpascii = comm.gpascii
# direct start
#hs=HelicalScan(comm, gather, args.verbose,sync_mode=0)
#hs=HelicalScan(comm, gather, args.verbose,sync_mode=0,pt2pt_time=20)
#simulated start and frame trigger no sync
#hs=HelicalScan(comm, gather, args.verbose,sync_mode=1,sync_flag=3)

View File

@@ -812,7 +812,7 @@ if __name__=='__main__':
#sp = ShapePath(comm, gather, args.verbose)
# direct start
#sp = ShapePath(comm, gather, args.verbose,sync_mode=0)
#sp = ShapePath(comm, gather, args.verbose,sync_mode=0,pt2pt_time=10)
#simulated start and frame trigger no sync
#sp = ShapePath(comm, gather, args.verbose,sync_mode=1,sync_flag=3)
@@ -842,7 +842,6 @@ if __name__=='__main__':
# 10ms 3 6860
# 10ms 4 9180
#xy=False
#sp.gen_grid_points(w=6,h=6,pitch=100,rnd=0,ofs=(0,0));sp.sort_points(False);
#sp.gen_grid_points(w=100,h=100,pitch=10,rnd=.2)
#sp.gen_swissfel_points(width=1000,ofs=(-500,0));sp.sort_points(xy=xy)
@@ -851,13 +850,13 @@ if __name__=='__main__':
#sp.gen_closed_shifted()
#sp.gen_swissmx_points(width=1000,ofs=(-500,0))
#sp.gen_swissfel_points(width=1000,ofs=(-500,0))
#sp.gen_rand_points(n=14, scale=1000);sp.sort_points(xy=xy)
sp.gen_rand_points(n=200, scale=1000);sp.sort_points(xy=False)
#sp.gen_swissmx_points(width=1000, ofs=(-500, 0));
#sp.gen_spiral_points(rStart=100,rInc=10,numSeg=4,numCir=60, ofs=(0, 0))
#sp.gen_spiral_points(rStart=100,rInc=130,numSeg=4,numCir=2, ofs=(0, 0))
#sp.gen_grid_points(w=10,h=10,pitch=100,rnd=0,ofs=(0,0));sp.sort_points(False);
#sp.gen_grid_points(w=1,h=10,pitch=100,rnd=0,ofs=(0,0))
sp.gen_spiral_points(rStart=100,rInc=20,numSeg=8,numCir=32, ofs=(0, 0))
#sp.gen_spiral_points(rStart=100,rInc=20,numSeg=8,numCir=32, ofs=(0, 0))
#sp.gen_closed_shifted()
sp.setup_gather(acq_per=1)