================================ How to get one count level ================================ One count level can be calculated from g-factor. The conversion between count rate and the flux is .. math:: C_{n,i}^{H} = J_{n,i}^{H} \cdot G_{n,i}^{H} \cdot E_i \cdot \Delta t Thus, the one count level can be calculated as .. math:: J_{0,n,i}^{H} = \frac{1}{G_{n,i}^{H} \cdot E_i \cdot \Delta t} Using :mod:`pyana.cena.cena_flux` module, a simple code can be written as follows. .. code-block:: py import cena_flux flx = cena_flux.Count2Flux() # one for 16 energy and 7 channels one_count_level = [[flx.getFlux(1, ie, id) for ie in range(16)] for id in range(7)]