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

New hitlets data_kind #275

Merged
merged 81 commits into from
Aug 17, 2020
Merged

Conversation

WenzDaniel
Copy link
Collaborator

Dear all,
it has been quite some time since my last PR XENONnT/straxen#86 for the nVETO plugins in straxen and many things have changed. Back then, Jelle and Joran asked me to change some of my code so that it would build up more on already existing starx functions. The two major point were:

  • Changing the function get_hitlets_data such that it is based on record_links and overlapping_indices rather than new custom made code.
  • Adopting split_peaks such that it can be used for hitlets as well.

In addition, based on my work in the analysis Team B and Fast Response Team I noticed, that many of the functions which will be used by the nVETO are also useful to very low level analyses for the TPC. Therefore, I decided to add a more generic data_kind called hitlets with a coresponding submodul to strax rather than having the functions next to the straxen plugins. Hitlets are an extension of the already existing hits which allow to fully characterize PMT signals for SPE, DPE or lone_hitlet analyses or the operation of the neutron-veto. Beside these use cases I think also smaller TPC could benefit from this work.

Not all functions have been implemented yet (e.g. the conditional_entropy) is still missing, but since this PR is rather large I decided to open it already now. Please let me know your thoughts and comments. Once all issues are solved I can proceed and update the corresponding plugins.

@WenzDaniel
Copy link
Collaborator Author

I should add, I have just started to look into hypothesis test. But I would like to add some.

strax/processing/peak_splitting.py Outdated Show resolved Hide resolved
strax/processing/peak_splitting.py Outdated Show resolved Hide resolved
strax/processing/peak_splitting.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/dtypes.py Outdated Show resolved Hide resolved
strax/dtypes.py Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
@WenzDaniel WenzDaniel marked this pull request as draft July 29, 2020 08:55
@WenzDaniel WenzDaniel marked this pull request as ready for review August 13, 2020 13:10
Copy link
Contributor

@JoranAngevaare JoranAngevaare left a comment

Choose a reason for hiding this comment

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

Have some questions here and there but should be possible to resolve that quickly

strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Outdated Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
strax/processing/hitlets.py Show resolved Hide resolved
strax/processing/peak_splitting.py Show resolved Hide resolved
strax/processing/peak_splitting.py Show resolved Hide resolved
@JoranAngevaare JoranAngevaare merged commit 64af35a into AxFoundation:master Aug 17, 2020
@WenzDaniel WenzDaniel deleted the nevto_hitlets branch December 4, 2020 15:31
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.

2 participants