-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use "integralGains" for single pulse extraction? #197
Comments
Good idea, makes sense to me. Let's test it. However the amplitude might only be a 10% effect at max. |
Is it a good idea then? Or a waste of time? We have very very limit amout of time only. Question is not whether its nice or not ... surely one can do it and test it ... but is it necessary? |
I don't know if it is necessary or not. But I think it would not make the result worse, only better! That's my guess. So put it in, if you agree. If we don't use it, we might misestimate Cherenkov pulses by up to 10%, since we apply a 10mv Amplitude to a 9mv pulse, which is also my guess. |
Have a look at the lower image: It shows the factors, which would be applied instead of the constant factor 10. ... |
Yes that's what I meant. |
I was talking about the worst case which is the outlier at 9mv |
To shorten the discussion. I think it's a good idea. I think it's worth it. I thinking would improve the result. I think we should go for it. |
Adrian agreed with you |
I introduced a single pulse gain calibration service to avoid code duplication. However, I needed to modify ALL xmls. See PR #207 |
…ervice A Single pulse gain calibration service to solve issue #197
Related to #267 |
The GainService is now in the master |
When extracting the
photoncharge
we use these individual pixel gain number:https://github.com/fact-project/fact-tools/blob/master/src/main/resources/default/gain_sorted_20131127.csv
(btw. this is no CSV at all)
They look like this:
I was wondering if we should also use these numbers in the single pulse extractor, here:
https://github.com/fact-project/fact-tools/blob/master/src/main/java/fact/extraction/SinglePulseExtraction.java#L117
At the moment the constant
factSinglePeAmplitudeInMv
which is used here, is 10.but we can also convert these integralGains from the file into this number.
The distribution for all pixels looks like this then:
The text was updated successfully, but these errors were encountered: