" # Save /data/image/patterns in corrected file.\n",
"\n",
" datasetp = ofile.create_dataset(\n",
" step_timer.done_step('Storing data.')\n",
" f\"{data_path}/patterns\",\n",
"if empty_seq == len(seq_files):\n",
" data=data_patterns,\n",
" warning(\"No valid trains for RAW data to correct.\")\n",
" chunks=dataset_chunk,\n",
" exit(0)"
" dtype=np.int32)\n",
"\n",
" step_timer.done_step('Storing data.')"
]
]
},
},
{
{
...
...
%% Cell type:markdown id: tags:
%% Cell type:markdown id: tags:
# ePix100 Data Correction
# ePix100 Data Correction
Author: European XFEL Detector Group, Version: 2.0
Author: European XFEL Detector Group, Version: 2.0
The following notebook provides data correction of images acquired with the ePix100 detector.
The following notebook provides data correction of images acquired with the ePix100 detector.
The sequence of correction applied are:
The sequence of correction applied are:
Offset --> Common Mode Noise --> Relative Gain --> Charge Sharing --> Absolute Gain.
Offset --> Common Mode Noise --> Relative Gain --> Charge Sharing --> Absolute Gain.
Offset, common mode and gain corrected data is saved to /data/image/pixels in the CORR files.
Offset, common mode and gain corrected data is saved to /data/image/pixels in the CORR files.
If pattern classification is applied (charge sharing correction), this data will be saved to /data/image/pixels_classified, while the corresponding patterns will be saved to /data/image/patterns in the CORR files.
If pattern classification is applied (charge sharing correction), this data will be saved to /data/image/pixels_classified, while the corresponding patterns will be saved to /data/image/patterns in the CORR files.