Skip to content
Snippets Groups Projects

Add mnemonic machinery to take into account mnemonics versions

Merged Laurent Mercadier requested to merge mnemo_versions into master
1 unresolved thread
1 file
+ 36
13
Compare changes
  • Side-by-side
  • Inline
+ 36
13
@@ -15,27 +15,28 @@ mnemonics = {
@@ -15,27 +15,28 @@ mnemonics = {
"bunchpattern": ({'source': 'SCS_RR_UTC/TSYS/TIMESERVER',
"bunchpattern": ({'source': 'SCS_RR_UTC/TSYS/TIMESERVER',
'key': 'readBunchPatternTable.value',
'key': 'readBunchPatternTable.value',
'dim': None},),
'dim': None},),
"bunchPatternTable": ({'source': 'SCS_RR_UTC/TSYS/TIMESERVER:outputBunchPattern',
"bunchPatternTable": (
'key': 'data.bunchPatternTable',
{'source': 'SCS_RR_UTC/TSYS/TIMESERVER:outputBunchPattern',
'dim': ['pulse_slot']},
'key': 'data.bunchPatternTable',
{'source': 'SCS_RR_UTC/TSYS/TIMESERVER',
'dim': ['pulse_slot']},
'key': 'bunchPatternTable.value',
{'source': 'SCS_RR_UTC/TSYS/TIMESERVER',
'dim': ['pulse_slot']},),
'key': 'bunchPatternTable.value',
 
'dim': ['pulse_slot']}),
"npulses_sase3": ({'source': 'SCS_RR_UTC/MDL/BUNCH_DECODER',
"npulses_sase3": ({'source': 'SCS_RR_UTC/MDL/BUNCH_DECODER',
'key': 'sase3.nPulses.value',
'key': 'sase3.nPulses.value',
'dim': None},),
'dim': None},),
"npulses_sase1": ({'source': 'SCS_RR_UTC/MDL/BUNCH_DECODER',
"npulses_sase1": ({'source': 'SCS_RR_UTC/MDL/BUNCH_DECODER',
'key': 'sase1.nPulses.value',
'key': 'sase1.nPulses.value',
'dim': None},),
'dim': None},),
"bunchPatternTable_SA3": ({
"bunchPatternTable_SA3": (
'source': 'SA3_BR_UTC/TSYS/TIMESERVER:outputBunchPattern',
{'source': 'SA3_BR_UTC/TSYS/TIMESERVER:outputBunchPattern',
'key': 'data.bunchPatternTable',
'key': 'data.bunchPatternTable',
'dim': ['pulse_slot']},),
'dim': ['pulse_slot']},),
# Bunch Arrival Monitors
# Bunch Arrival Monitors
"BAM414": ({'source': 'SCS_ILH_LAS/DOOCS/BAM_414_B2:output',
"BAM414": ({'source': 'SCS_ILH_LAS/DOOCS/BAM_414_B2:output',
'key': 'data.lowChargeArrivalTime',
'key': 'data.lowChargeArrivalTime',
'dim': ['BAMbunchId']},),
'dim': ['BAMbunchId']},),
"BAM1932M": ({'source': 'SCS_ILH_LAS/DOOCS/BAM_1932M_TL:output',
"BAM1932M": ({'source': 'SCS_ILH_LAS/DOOCS/BAM_1932M_TL:output',
'key': 'data.lowChargeArrivalTime',
'key': 'data.lowChargeArrivalTime',
'dim': ['BAMbunchId']},),
'dim': ['BAMbunchId']},),
@@ -73,6 +74,9 @@ mnemonics = {
@@ -73,6 +74,9 @@ mnemonics = {
'key': 'actualPosition.value',
'key': 'actualPosition.value',
'dim': None},),
'dim': None},),
# DPS imagers
# DPS imagers
 
"DPS1CAM2": ({'source': 'SCS_BLU_DPS-1/CAM/IMAGER2CAMERA:daqOutput',
 
'key': 'data.image.pixels',
 
'dim': ['dps1cam2_y', 'dps1cam2_x']},),
"DPS2CAM2": ({'source': 'SCS_BLU_DPS-2/CAM/IMAGER2CAMERA:daqOutput',
"DPS2CAM2": ({'source': 'SCS_BLU_DPS-2/CAM/IMAGER2CAMERA:daqOutput',
'key': 'data.image.pixels',
'key': 'data.image.pixels',
'dim': ['dps2cam2_y', 'dps2cam2_x']},),
'dim': ['dps2cam2_y', 'dps2cam2_x']},),
@@ -228,6 +232,12 @@ mnemonics = {
@@ -228,6 +232,12 @@ mnemonics = {
"ILH_8CAM1": ({'source': 'SCS_ILH_LAS/CAM/8CAM1:daqOutput',
"ILH_8CAM1": ({'source': 'SCS_ILH_LAS/CAM/8CAM1:daqOutput',
'key': 'data.image.pixels',
'key': 'data.image.pixels',
'dim': ['8cam1_y', '8cam1_x']},),
'dim': ['8cam1_y', '8cam1_x']},),
 
"ILH_10CAM1": ({'source': 'SCS_ILH_LAS/CAM/10CAM1:daqOutput',
 
'key': 'data.image.pixels',
 
'dim': ['10cam1_y', '10cam1_x']},),
 
"ILH_PIDelay": ({'source': 'SCS_ILH_LAS/MOTOR/PIDELAY',
 
'key': 'actualPosition.value',
 
'dim': None},),
# GPC
# GPC
"GPC_EOS_DelayLine": ({'source': 'SCS_CDIDET_GRD/MOTOR/IMAGER',
"GPC_EOS_DelayLine": ({'source': 'SCS_CDIDET_GRD/MOTOR/IMAGER',
@@ -271,6 +281,9 @@ mnemonics = {
@@ -271,6 +281,9 @@ mnemonics = {
"Vertical_FDM": ({'source': 'SCS_CDIFFT_LDM/CAM/CAMERA1A:daqOutput',
"Vertical_FDM": ({'source': 'SCS_CDIFFT_LDM/CAM/CAMERA1A:daqOutput',
'key': 'data.image.pixels',
'key': 'data.image.pixels',
'dim': ['vfdm_y', 'vfdm_x']},),
'dim': ['vfdm_y', 'vfdm_x']},),
 
"LLC_webcam2": ({'source': 'SCS_CDILLC_VAC/CAM/WEBCAMERA2:daqOutput',
 
'key': 'data.image.pixels',
 
'dim': ['llc2_y', 'llc2_x']},),
# FastCCD, if in raw folder, raw images
# FastCCD, if in raw folder, raw images
# if in proc folder, dark substracted and relative gain corrected
# if in proc folder, dark substracted and relative gain corrected
@@ -404,5 +417,15 @@ mnemonics = {
@@ -404,5 +417,15 @@ mnemonics = {
'dim': ['gott_pId', 'pixelId']},),
'dim': ['gott_pId', 'pixelId']},),
"Gotthard2": ({'source': 'SCS_PAM_XOX/DET/GOTTHARD_RECEIVER2:daqOutput',
"Gotthard2": ({'source': 'SCS_PAM_XOX/DET/GOTTHARD_RECEIVER2:daqOutput',
'key': 'data.adc',
'key': 'data.adc',
'dim': ['gott_pId', 'pixelId']},)
'dim': ['gott_pId', 'pixelId']},),
 
 
# BASLER RACER
 
"Racer1": ({'source': 'SCS_PAM_XOX/CAM/RACER1:daqOutput',
 
'key': 'data.image.pixels',
 
'dim': ['racer1_pId', 'racer1_x']},),
 
 
# BBO2 RY (interferometric timing tool, Nov 2020, p2711)
 
"BBO_RY": ({'source': 'SCS_CDIDET_GRD/MOTOR/IMAGER',
 
'key': 'actualPosition.value',
 
'dim': None},)
}
}
Loading