in_folder="/gpfs/exfel/exp/DETLAB/202230/p900276/raw"# the folder to read data from, required
out_folder="/gpfs/exfel/data/scratch/ahmedk/test/gotthard2"# the folder to output to, required
run=10# run to process, required # TODO: test runs up to run 18. Last 3 runs can be checked.
sequences=[-1]# sequences to correct, set to [-1] for all, range allowed
sequences_per_node=1# number of sequence files per node if notebook executed through xfel-calibrate, set to 0 to not run SLURM parallel
# Parameters used to access raw data.
karabo_id="DET_LAB_G2"# karabo prefix of Jungfrau devices
karabo_da=["DA01"]# data aggregators
receiver="GOT01"
control_template="CTRL{:02d}"
instrument_source_template='{}/DET/{}:daqOutput'# template for source name (filled with karabo_id & receiver_id). e.g. 'SPB_IRDA_JF4M/DET/JNGFR01:daqOutput'
ctrl_source_template='{}/DET/{}'# template for control source name (filled with karabo_id_control)
karabo_id_control=""# if control is on a different ID, set to empty string if it is the same a karabo-id
# Parameters for calibration database.
use_dir_creation_date=True# use the creation data of the input dir for database queries
cal_db_interface="tcp://max-exfl016:8017#8025"# the database interface to use
cal_db_timeout=180000# timeout on caldb requests
# Parameters affecting corrected data.
relative_gain=True# do relative gain correction
# Parameters for plotting
skip_plots=False# exit after writing corrected files
pulse_preview=3# pulseId to preview. The following even/odd pulseId is used for preview.