To run charge injection at ASC or elsewhere
See Kaz's comment here.
To control the charge injection procedure, one can look at /reg/g/pcds/dist/pds/current/tools/scanning/take_pedestals --h
take_pedestals -r -f -o 5 -O 12
works fine as a quick sample of 1/7th of the pixels. Looking at e.g. -G 77,154 works for the linearity check.
To analyze a charge injection run
, I do e.g. epix10ka_offset_calibration -e detdaq21 -r 22 -i 0 -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. . The -i parameter determines which module to analyze for e.g. a quad. The script produces a ton of commentary but what's useful for is is that path information, which I grep doing e.g.
...