Skip to content
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

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

dneise
Copy link
Member

@dneise dneise commented Jan 20, 2017

fixing #197

Dominik Neise added 2 commits January 20, 2017 11:23
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();
Copy link
Member Author

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.
@dneise
Copy link
Member Author

dneise commented Jan 23, 2017

We should not merge this, if we think #207 is good, which I do.

@maxnoe
Copy link
Member

maxnoe commented Jan 23, 2017

Yep, let's wait for #207

Dominik Neise added 3 commits January 24, 2017 09:52
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.
jebuss
jebuss previously approved these changes Jan 25, 2017
Copy link
Member

@jebuss jebuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maxnoe
Copy link
Member

maxnoe commented Nov 15, 2017

There are conflicts and a lot of changes after the last review.

@jebuss @relleums How should we proceed?

@maxnoe maxnoe dismissed jebuss’s stale review November 15, 2017 18:18

Lot's of changes after this review

@maxnoe
Copy link
Member

maxnoe commented Feb 22, 2018

@dneise @jebuss @relleums This has some overlap with #333

  • How should we proceed here?
  • What is the difference between "integral gain" and "single pulse integral gain"?

@dneise
Copy link
Member Author

dneise commented Feb 22, 2018

What is the difference between "integral gain" and "single pulse integral gain"?

I've got no idea

@maxnoe
Copy link
Member

maxnoe commented Feb 22, 2018

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants