Add gain map structure to README

This commit is contained in:
2024-04-17 14:35:54 +02:00
parent e84beba6e9
commit f42514507a

View File

@ -73,7 +73,7 @@ Data analysis:
## Structure of JF gain map files
Gain maps are generated by *JFMC_CalibWriter_wBP* and named *gainMaps_MXXX_yyy-mm-dd.bin*, whereby *MXXX* denotes the module number. Every binary file contains six gain maps in the order G0, G1, G2, HG0, HG1, HG2. Every gain map is an array of doubles with size 512x1024 (rows x columns) corresponding to the gain factor in ADU/keV for every pixel of the module.
Gain maps are generated by *JFMC_CalibWriter_wBP* and named *gainMaps_MXXX_yyy-mm-dd.bin*, whereby *MXXX* denotes the module number. Every binary file contains six gain maps in the order G0, G1, G2, HG0, HG1, HG2. Every gain map is an array of doubles with size 512x1024 (rows x columns) corresponding to the gain factor in ADU/keV for every pixel of the module. The pixelnumber *i* is related to the column (*x*) and row (*y*) position by $i = y \times 1024 + x$. Inversely, *x* and *y* can be calculated from *i* as `x = i%1024` and `y = i/1024`.
## Legacy: Direct beam
Provides a relative calibration between high and medium gains. The current in the X-ray box is varied to measure the response of high and medium gains. The ratio of the two gains is the ratio of fitted gradients.