Skip to content
Snippets Groups Projects
Commit 74757aa5 authored by Emanuele Laface's avatar Emanuele Laface
Browse files

Fixed bcm_correction in Instruments

parent 63aabbe6
No related branches found
No related tags found
No related merge requests found
Pipeline #31711 passed
...@@ -95,7 +95,7 @@ class instrumentsScreen(Thread): ...@@ -95,7 +95,7 @@ class instrumentsScreen(Thread):
json_dict[pv]['units']=epics_dict[pv].units json_dict[pv]['units']=epics_dict[pv].units
json_dict[pv]['timestamp']=epics_dict[pv].timestamp json_dict[pv]['timestamp']=epics_dict[pv].timestamp
if pv=='ISrc-010:PBI-BCM-001:AI4-Compressed': if pv=='ISrc-010:PBI-BCM-001:AI4-Compressed':
y_data=list(epics_dict[pv].value*bcm_correction) y_data=list(epics_dict[pv].value)
x_data=list(linspace(0,12.8,len(y_data))) x_data=list(linspace(0,12.8,len(y_data)))
json_dict[pv]['value']=list(zip(x_data,y_data)) json_dict[pv]['value']=list(zip(x_data,y_data))
continue continue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment