-
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
Individual pixel gain in spe #204
base: master
Are you sure you want to change the base?
Conversation
the template pulse integral between the "half height" and "half height + 30 slices" I have calculated with python to be 24.37 but it cannot stay like this!
@@ -148,6 +170,42 @@ private void addStartSliceOffset(int[][] arr) { | |||
} | |||
} | |||
|
|||
public double[] loadIntegralGainFile(SourceURL inputUrl, Logger log) { | |||
factSinglePePulseIntegral = TemplatePulse.factSinglePePulseIntegral(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is shit .. I am misusing loadIntegralGainFile as an __init__
method. so I initialize this member here...
but that's of course total bullshit.
… gains. This is done, because there are two processors (BasicExtraction and SinglePulseExtraction) needing this gain calibration.
We should not merge this, if we think #207 is good, which I do. |
Yep, let's wait for #207 |
from mV to SinglePulseAmplitude; This should be used before BasicExtraction or any extration happens.
BasicExtraction became a StatefulProcessor now: - to calculate the template integral ParameterTest uses SinglePulseGaincalibration before extraction starts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've got no idea |
What we call Integral Gain in FACT-Tools is around 240, what is here called Single Pulse Integral gain seems to be around 1.0, so how come from one to the other? |
fixing #197