Skip to content

Commit

Permalink
change config back for tutorial data
Browse files Browse the repository at this point in the history
  • Loading branch information
rettigl committed Oct 17, 2024
1 parent eea0b58 commit 5dab55e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 27 deletions.
1 change: 1 addition & 0 deletions .cspell/custom-dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ dfpart
dfpid
dictionarized
dictmerge
DOOCS
dpkg
dropna
dset
Expand Down
48 changes: 21 additions & 27 deletions tutorial/sxp_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ dataframe:
ubid_offset: 0
daq: DA03
forward_fill_iterations: 2
num_trains: 1
num_pulses: 400
num_trains: 10
# num_pulses: 400 # only needed for data from new DAQ
x_column: dldPosX
corrected_x_column: "X"
kx_column: "kx"
Expand Down Expand Up @@ -52,50 +52,44 @@ dataframe:

channels:
timeStamp:
daq: "DA03"
format: per_train
dataset_key: "/INDEX/timestamp"
index_key: "/INDEX/trainId"
scale: 1000000000
pulseId:
daq: "DA03"
format: per_electron
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/starterCounter"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/trainId"
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/starterCounter"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/trainId"
max_hits: 10000
trainId:
daq: "DA03"
format: per_electron
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/masterCounter"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/trainId"
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/masterCounter"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/trainId"
max_hits: 10000
dldPosX:
daq: "DA03"
format: per_electron
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/x"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/trainId"
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/x"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/trainId"
max_hits: 10000
dldPosY:
daq: "DA03"
format: per_electron
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/y"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/trainId"
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/y"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/trainId"
max_hits: 10000
dldTimeSteps:
daq: "DA03"
format: per_electron
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/t"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_CPP_TEST:daqOutput/daqOutput/trainId"
dataset_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/t"
index_key: "/INSTRUMENT/SXP_TR_XPES/DET/MCP_DETECTOR:output/data/trainId"
max_hits: 10000
# delayStage:
# format: per_train
# dataset_key: "/CONTROL/SCS_ILH_LAS/MDL/OPTICALDELAY_PP800/actualPosition/value"
# index_key: "/INDEX/trainId"
test:
daq: DA02
format: per_pulse
dataset_key: "/INSTRUMENT/SA3_XTD10_XGM/XGM/DOOCS:output/data/intensitySa3TD"
index_key: "/INSTRUMENT/SA3_XTD10_XGM/XGM/DOOCS:output/data/trainId"
delayStage:
format: per_train
dataset_key: "/CONTROL/SCS_ILH_LAS/MDL/OPTICALDELAY_PP800/actualPosition/value"
index_key: "/INDEX/trainId"
# test:
# daq: DA02 # change DAQ for a channel
# format: per_pulse
# dataset_key: "/INSTRUMENT/SA3_XTD10_XGM/XGM/DOOCS:output/data/intensitySa3TD"
# index_key: "/INSTRUMENT/SA3_XTD10_XGM/XGM/DOOCS:output/data/trainId"

stream_name_prefixes:
DA03: "RAW-R"
Expand Down

0 comments on commit 5dab55e

Please sign in to comment.