diff --git a/README.md b/README.md index d4bd8fb..ef89422 100644 --- a/README.md +++ b/README.md @@ -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 8 bytes $\times$ 512 $\times$ 1024 (`sizeof(double)` $\times$ 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_yyyy-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 8 bytes $\times$ 512 $\times$ 1024 (`sizeof(double)` $\times$ 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.