Tested machine update

This commit is contained in:
2025-05-28 12:08:45 +02:00
parent fa3c51a1a2
commit 3dd82d9c7f
9 changed files with 137 additions and 26 deletions

View File

@@ -58,7 +58,6 @@ class Machine:
magnets[key[0:15]]=values[key]
if 'MBND' in key and 'K0L-SET' in key:
if 'SINBC' in key or 'SINLH' in key or 'S10BC' in key or 'SATMA' in key or 'SATUN' in key:
print(key,values[key])
magnets[key[0:15]] = values[key]*180./np.pi
if 'UMOD' in key:
und[key[0:12]]=[values[key],0.]