Author: European XFEL Detector Group, Version: 1.0
Creates histograms from flat fields.
Histograms are on a pixel-by-pixel, memory cell by memory cell basis to save memory and space, histogram range are to be optimized around the desired peak.
_fit_func='CHARGE_SHARING'# function used to fit the single photon peak
mode='Burst'# TODO: CONFIRM MY DECISION TO REMOVE MODE DECLARATION FROM ALL NOTEBOOKS.
adc_fit=True
is_strixel=False
# Condition limits
bias_voltage_lims=[0,200]
integration_time_lims=[0.1,1000]
g_map_old=''# '/gpfs/exfel/data/user/mramilli/jungfrau/module_PSI_gainmaps/M302/gainMaps_M302_2022-02-23.h5' # old gain map file path to calculate gain ratios G0/G1 and G1/G2. Set to "" to get last gain constant from the database.
old_gain_dataset_name='gain_map_g0'# name of the data structure in the old gain map
correct_offset=True# correct the photon peak value with a pedestal fit position
db_output=False
send_bpix=False
gain_map_name='gain_map_g0'
g0_name_new='gainMap_fit'# name of the data structure in the fit files
E_ph=8.048# photon energy of the peak fitted
badpixel_threshold_sigma=3.# number of std in gain distribution to mark bad pixels
_roi=[0,1024,0,256]# ROI to consider to evaluate gain distribution (for bad pixels evaluation)
# CALCAT API parameters
cal_db_interface="tcp://max-exfl-cal-001:8020"# the database interface to use