Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Alpha events are always misclassified as NR #69

Open
cfuselli opened this issue Feb 8, 2023 · 0 comments · May be fixed by #70
Open

Alpha events are always misclassified as NR #69

cfuselli opened this issue Feb 8, 2023 · 0 comments · May be fixed by #70
Labels
bug Something isn't working

Comments

@cfuselli
Copy link
Member

cfuselli commented Feb 8, 2023

The classifier function defined in here always gives nestid=0 for alpha events instead of 6.

This is because, with how the classifier is defined, the type with None, None, None, Ion gets selected.

As a quick fix, just setting

classifier = classifier[::-1]
solves the problem, as the classifier with three None is checked last.

(All the alpha events were then removed by epix because of the too high energy for a NR event)

@cfuselli cfuselli added the bug Something isn't working label Feb 8, 2023
@cfuselli cfuselli linked a pull request Feb 9, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant