fact-project / fact-tools

The fact-tools are an extension to the streams framework to analyse the data of the First G-APD Cherenkov Telescope.
http://sfb876.tu-dortmund.de/FACT/
GNU General Public License v3.0
6 stars 1 forks source link

Gain rescaling #388

Closed jebuss closed 5 years ago

jebuss commented 5 years ago

WIP:

adds a processor to rescale a data array from mc gain to data gain and vice versa. This is necessary for the pedestal superposition since MC and data gain differ intrinsically. Accordingly the MCs have to be calibrated with the MC gain and the pedestal events with the data gain.

In order to overcome this, this processor allows to rescale the data array (meaning the time series) from mc gain to data gain, by dividing the time series of each pixel through the pixels data gain and multiplying with the mc gain.

jebuss commented 5 years ago

This was an awesome idea, but it is bullshit. It does not make things better. Rather the opposite, since it shifts the pedestal features. e.g. ped_var_mean

I know that the difference of the data and mc game is missing and not considered but this does not solve it. Thus, I close the PR.

Green are MCs with the new feature, red without and black is data.