Edit README

This commit is contained in:
2024-04-17 14:59:12 +02:00
parent 5ae6010f61
commit fc9858fd97

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 $512 \times 1024$ (rows $\times$ columns) corresponding to the gain factor in ADU/keV for every pixel of the module (i.e. `double gainfactor[512*1024]`). 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 = int(i/1024)`.
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 (8 bytes) with size $512 \times 1024$ (rows $\times$ columns) corresponding to the gain factor in ADU/keV for every pixel of the module (i.e. `double gainfactor[512*1024]`). 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 = int(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.