update stages config

This commit is contained in:
2023-11-23 16:29:54 +01:00
parent 348fe208d1
commit 228caf0729
9 changed files with 88 additions and 350 deletions

View File

@@ -53,8 +53,8 @@ class Generate:
('SLITS:X2' , 'MCS11', 10 , 10 , -10 , 1 , 'mm' , 'S' ) ,
('SLITS:Y1' , 'MCS12', 11 , 10 , -10 , 1 , 'mm' , 'S' ) ,
('SLITS:Y2' , 'MCS13', 12 , 10 , -10 , 1 , 'mm' , 'S' ) ,
('XEYE:TX' , 'MCS14', 13 , 10 , -10 , 0 , 'mm' , 'S' ) ,
('XEYE:TY' , 'MCS15', 14 , 10 , -10 , 0 , 'mm' , 'S' ) ,
('unused' , 'MCS14', 13 , 10 , -10 , 0 , 'mm' , 'S' ) ,
('unused' , 'MCS15', 14 , 10 , -10 , 0 , 'mm' , 'S' ) ,
),
}
}
@@ -71,9 +71,9 @@ class Generate:
( 'DESC' , 'M' , 'ADDR' , 'DIR' , 'VELO' , 'HVEL' , 'MRES' , 'PREC' , 'EGU' ) ,
( '"Sample F-Trans Y"' , 'MOT_FY' , 1 , 0 , 16 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Sample F-Trans X"' , 'MOT_FX' , 2 , 1 , 16 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Rotation Y"' , 'MOT_ROT_Y' , 3 , 0 , 50 , 50 , 0.001 , 4 , 'deg' ) ,
( '"Sample C-Trans X"' , 'MOT_CX' , 4 , 1 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Sample C-Trans Z"' , 'MOT_CZ' , 5 , 1 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Sample C-Trans Y"' , 'MOT_CY' , 3 , 0 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Sample C-Trans X"' , 'MOT_CX' , 4 , 0 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Sample C-Trans Z"' , 'MOT_CZ' , 5 , 0 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Interfero Y"' , 'ENC_FY' , 6 , 0 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
( '"Interfero X"' , 'ENC_FX' , 7 , 0 , 2 , 2 , 0.001 , 4 , 'mm' ) ,
),
@@ -426,7 +426,7 @@ file PPMACMotor.template
for motPar in motLst:
motPar=dict(zip(hdr, motPar))
try:
motPar['PTYP']=lutPSENS[motPar['PTYP']][1] #idx0 is for MCS1
motPar['PTYP']=lutPSENS[motPar['PTYP']][1] #idx1 is for MCS1
except KeyError as e:
if motPar['PTYP']!=0:
_log.info(f'{motPar["PTYP"]} not in lookup table')