Files
DataProcess/Configs.py

23 lines
974 B
Python

from glob import glob
import numpy as np
Configs = {}
XrayFolder = f'/mnt/sls_det_storage/moench_data/2504_SoleilBeamtime/Moench040_g4_SimonStars_150V_50us'
Configs['SiemenStarUpperLeft'] = {
'caliFile': np.load('/home/xie_x1/MLED/data-process/utils/BacksidePulsing_Calibration/Moench040/Moench040_AduToKevMapping_g4_50us_150V_250423.npy'),
'pedestalFileName': f'{XrayFolder}/15keV_pedestal_d0_f0_0.raw',
'signalFileNames': glob(f'{XrayFolder}/15keV_signal_d0_f*_0.raw'),
# 'etaxLUT': '/mnt/sls_det_storage/moench_data/MLXID/EtaInterpolation/Moench040_EtaxLUT_g4_50us_150V_250423.npy',
# 'etayLUT': '/mnt/sls_det_storage/moench_data/MLXID/EtaInterpolation/Moench040_EtayLUT_g4_50us_150V_250423.npy',
'Roi': [140, 230, 120, 210],
'NX': 400, 'NY': 400,
'energy': 15, # keV
'selectionRange': 2,
'headerSize': 56,
# 'write3x3Cluster': True,
'NFrame': 20_000_000, ### 20_000_000 in total
'NThread': 16,
'NChunks': 200,
}