Debug Dispersion measurement and added first support for XTCAV stabilizer
This commit is contained in:
@ -39,12 +39,12 @@ def loadActuator(hid,scanrun=1):
|
||||
data = {}
|
||||
if 'actuators' in hid[run]['method'].keys():
|
||||
for key1 in hid[run]['method']['actuators'].keys():
|
||||
if isinstance(hid[run]['method']['actuators'],h5py.Group):
|
||||
if isinstance(hid[run]['method']['actuators'][key1],h5py.Group):
|
||||
for key2 in hid[run]['method']['actuators'][key1].keys():
|
||||
val = hid[run]['method']['actuators'][key1][key2][()]
|
||||
data[key1+':'+key2]={'val':val}
|
||||
else:
|
||||
data[key1]=hid[run]['method']['actuators'][key1][()]
|
||||
else:
|
||||
data[key1]=hid[run]['method']['actuators'][key1][()]
|
||||
return data
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user