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

Change gain selection #35

Merged

Conversation

HealthyPear
Copy link
Member

This pull-request is part of issue #31 and, as such, it has a higher priority.

Gain selection is now done on the basis of a threshold set on R0 data of 4000 ADC counts.
The code necessary to do this had to be hardcoded.
With the next release of ctapipe it will be removed and imported directly from the EventSource class.

As a side result of the comparison at this stage, I also added the exporting of the simulated energy in the images.h5 file. This quantity is needed for the re-weighting of the events according to requirement B-TEL-1010 "Intensity Resolution".

@HealthyPear HealthyPear added the enhancement New feature or request label Nov 27, 2019
@HealthyPear HealthyPear added this to the Release 0.3 milestone Nov 27, 2019
@HealthyPear HealthyPear merged commit e543885 into cta-observatory:master Nov 28, 2019
@HealthyPear HealthyPear deleted the patch-gain_selection_threshold branch November 28, 2019 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants