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

update cuts for new strax version #108

Merged
merged 2 commits into from
May 5, 2020
Merged

update cuts for new strax version #108

merged 2 commits into from
May 5, 2020

Conversation

JoranAngevaare
Copy link
Contributor

For the new strax version (#60) each plugin needs to have a time and endtime. This PR adds it to the xenon1t cuts.

Copy link
Contributor

@JelleAalbers JelleAalbers left a comment

Choose a reason for hiding this comment

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

Thanks Joran! Maybe we can make a cut base class that automatically makes the dtype in the future.

@JoranAngevaare
Copy link
Contributor Author

Good idea. Makes more sense than having the same exact lines in every plugin as I did now.

@JelleAalbers JelleAalbers merged commit 65509f3 into master May 5, 2020
@JelleAalbers JelleAalbers deleted the update_cuts branch May 5, 2020 08:29
@JoranAngevaare
Copy link
Contributor Author

In JoranAngevaare/strax#18 a CutPlugin is proposed that should somewhat simplify adding cuts as one doesn't have to copy paste the same lines of code for each plugin

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