Page History
Content
Table of Contents |
---|
...
Command examples
Script and its features
- Script
det_pixel_status
processes dark or light data and produces 2-d image or per-panel pixel status files. - Implemented algorithms, named here as Features after Ref.2,3, are developed in R&D with Chuck briefly documented in Ref.1.
- Tested for epix100a - other detectors not tested...
All algorithms/features are wrapped under the common hood of event processing loop and files' I/O. But, not all algorithms/features can be applied simultaneously due to different data types (dark or light) and different processing algorithms. Suggested combinations for -F parameters are shown in three examples below features with associated type of generated status constants in repository
...
Code Block | ||||
---|---|---|---|---|
| ||||
[I] UtilsPixelStatus.py L0389 Summary of the bad pixel status evaluation for SNR=8.00, status_max array 0o400: 7737 / 540672 ( 1.431%) pixels Feat.11 max-peds <= 114.447 0o1000: 3106 / 540672 ( 0.574%) pixels Feat.11 max-peds >= 216.111 Any bad status bit: 10843 / 540672 ( 2.005%) pixels [I] RepoManager.py L0176 panel directory: /sdf/group/lcls/ds/ana/detector/calib/constants/epix100a/3925999620-0996513537-2080374794-1794135040-0940361739-2398406657-0419430424 [I] UtilsCalib.py L0150 saved: /sdf/group/lcls/ds/ana/detector/calib/constants/epix100a/3925999620-0996513537-2080374794-1794135040-0940361739-2398406657-0419430424/status_max/epix100a_0009_20210716073950_xpplw3319_r0293_status_max.dat [I] UtilsPixelStatus.py L0639 Consumed time 113.834 sec [I] RepoManager.py L0255 move logfile: /sdf/group/lcls/ds/ana/detector/calib/constants/scripts/det_pixel_status/logs/2023/2023-10-09T120040_log_det_pixel_status_dubrovin.txt to: /sdf/group/lcls/ds/ana/detector/calib/constants/epix100a/logs/2023/2023-10-09T120040_log_det_pixel_status_dubrovin.txt and create link |
Deployment of
...
status_
...
extra constants
For detail see Ref.6 Detector Calibration Constants Deployment, e.g.:
deploy_constants -x exp=xpplw3319:run=293 -d XppGon.0:Epix100a.3 -C status_extra -D # -c ./calib -R 1-end
merges all status_* constants to status_merged in repository and deploys under /sdf/data/lcls/ds/xpp/xpplw3319/calib/Epix100a::CalibV1/XppGon.0:Epix100a.3/status_extra/
Release
Code available since ana-4.0.53-py3
Code Block | ||
---|---|---|
| ||
# on sdf psana node:
source /sdf/group/lcls/ds/ana/sw/conda1/manage/bin/psconda.sh
conda deactivate
conda activate ana-4.0.53-py3 |
References
- Bad pixel mask for epix100a xpplw3319
- Paper in JAC: Automatic bad-pixel mask maker for X-ray pixel detectors with application to serial crystallography,
- Journal of Applied Crystallography - 2022 - Sadri - Automatic bad‐pixel mask maker for X‐ray pixel detectors with.pdf
- Bad Pixel Status
- Calibration Scripts Repository and Logging
- Detector Calibration Constants Deployment
...