SFELPHOTON-1418: minor fixes
This commit is contained in:
@@ -2148,11 +2148,11 @@ object settings:
|
||||
elif idx==1:
|
||||
#v=geo.pos2pix((12.5, 0));l=np.linalg.norm(v);l=12.5
|
||||
sz=param.pop('size',(12.5, 12.5))
|
||||
go=UsrGO.FixTargetFrame((fx-l/2,fy-l/2), (l, l), tpl='12.5x12.5',**param)
|
||||
go=UsrGO.FixTargetFrame((fx-sz[0]/2,fy-sz[1]/2), sz, tpl='12.5x12.5',**param)
|
||||
elif idx==2:
|
||||
#v=geo.pos2pix((23, 0));l=np.linalg.norm(v)#l=23
|
||||
sz=param.pop('size',(23, 23))
|
||||
go=UsrGO.FixTargetFrame((fx-l/2,fy-l/2), (l, l), tpl='23.0x23.0',**param)
|
||||
go=UsrGO.FixTargetFrame((fx-sz[0]/2,fy-sz[1]/2), sz, tpl='23.0x23.0',**param)
|
||||
elif idx==3:
|
||||
sz=param.pop('size',(.120*12, .120*8))
|
||||
go=UsrGO.FixTargetFrame((fx-sz[0]/2,fy-sz[1]/2), sz, tpl='test',**param)
|
||||
|
||||
Reference in New Issue
Block a user