To run charge injection, ...
To analyze a charge injection run, I do e.g. epix10ka_offset_calibration -e detdaq21 -r 22 -G 73,82 --idx=0 --nspace=7 -d DetLab.0:Epix10ka.0. This produces plots in a directory structure that is labelled by the detector serial ID and the test date. So for example
/reg/g/psdm/detector/gains/epix10k/panels/3791912962-0170007809-3607101462-1663404124-0001354881-3000606721-2650800153/plots/epix10ka_0109_20230201091541_detdaq21_r0016-DetLab-0-Epix10ka-0-seg00-cc031-AML-M-dat-r073-c082-ibr10-ibc11.png and /reg/g/psdm/detector/gains/epix10k/panels/3791912962-0170007809-3607101462-1663404124-0001354881-3000606721-2650800153/plots/epix10ka_0109_20230201091541_detdaq21_r0016-DetLab-0-Epix10ka-0-seg00-cc031-AML-M-fit-r073-c082-ibr10-ibc11.png.