deploy
This commit is contained in:
@@ -615,6 +615,7 @@ if __name__=='__main__':
|
||||
#sp.plot_gather()
|
||||
#return
|
||||
fn='/tmp/shapepath'
|
||||
#fn='PBMotionAnalyzer/records/rand50um_25Hz'
|
||||
#sp.setup_coord_trf()
|
||||
|
||||
#sp.points=np.zeros((2,2))
|
||||
@@ -635,7 +636,7 @@ if __name__=='__main__':
|
||||
#sp.gen_grid_points(w=100,h=100,pitch=50,rnd=.2)
|
||||
|
||||
|
||||
#setup_gather(self, acq_per=1) #Gather.MaxLines=116508 580pts
|
||||
#sp.setup_gather(acq_per=1) #Gather.MaxLines=116508 580pts
|
||||
sp.setup_gather(acq_per=2)
|
||||
#setup_sync(self, crdId=1, prgId=2, plcId=2, mode=0, **kwargs):
|
||||
#sp.setup_sync() #no sync at all
|
||||
@@ -649,7 +650,8 @@ if __name__=='__main__':
|
||||
|
||||
#sp.gen_grid_points(w=2,h=20,pitch=50,rnd=0);sp.setup_motion(fnPrg=fn+'.prg',mode=1,pt2pt_time=10,acq_per=1)
|
||||
#sp.gen_rand_points(n=500, scale=1000);sp.sort_points(xy);sp.setup_motion(fnPrg=fn+'.prg',mode=1,pt2pt_time=10,acq_per=1)
|
||||
sp.gen_grid_points(w=20,h=20,pitch=10,rnd=0);sp.sort_points(xy);sp.setup_motion(fnPrg=fn+'.prg',mode=1,pt2pt_time=40)
|
||||
#sp.gen_grid_points(w=30,h=30,pitch=50,rnd=0.2);sp.sort_points(xy);sp.setup_motion(fnPrg=fn+'.prg',mode=1,pt2pt_time=40)
|
||||
sp.gen_rand_points(n=400, scale=1000);sp.sort_points(xy);sp.setup_motion(fnPrg=fn+'.prg',mode=1,pt2pt_time=40)
|
||||
|
||||
|
||||
#>>>setup gather and sync<<<
|
||||
@@ -663,7 +665,7 @@ if __name__=='__main__':
|
||||
sp.run()
|
||||
trigger(0.5)
|
||||
sp.gather_upload(fnRec=fn+'.npz')
|
||||
sp.plot_gather(mode=8)
|
||||
sp.plot_gather(mode=11)
|
||||
|
||||
|
||||
# cfg={"points": [[100,523],[635,632],[756,213]],"sequencer":[sort_points,move_trj+')']}
|
||||
|
||||
Reference in New Issue
Block a user