-
Notifications
You must be signed in to change notification settings - Fork 350
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
Purge fullinj / injfull analyses #4420
Purge fullinj / injfull analyses #4420
Conversation
92916b5
to
c369a76
Compare
|
||
# Indicate that inclusive IFAR is not calculated | ||
f['foreground/ifar'] = numpy.array([]) | ||
f['foreground/fap'] = numpy.array([]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would be in favour of not adding empty arrays into the coinc files and just removing these lines (and in sngls_statmap). Unless it serves a specific purpose??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason for this is intended to be that this can be used to indicate that the inclusive IFAR is specifically not calculated. If there is no dataset, that could indicate an error/bug, but a specifically empty dataset implies that it was done on purpose (we could alternatively use all zero/NaN/inf values)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I see it the other way. An empty column to me indicates an error/bug more than the column not existing. And purging something means that it never existed, and it never will exist, so I should never look for it.
c369a76
to
c4bba71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. @ahnitz Any objections here?
* Purge fullinj / injfull analyses * remove unrelated change * Actually purge * delete del deletion * foreground_time may not be [present
* Purge fullinj / injfull analyses * remove unrelated change * Actually purge * delete del deletion * foreground_time may not be [present
* Purge fullinj / injfull analyses * remove unrelated change * Actually purge * delete del deletion * foreground_time may not be [present
Injections do not have inclusive IFAR / FAP calculated, so we can ignore the datasets.
Why?:
Proposed solution:
Note that I think we may be able to consolidate the statmap / statmap_inj jobs in the near future because of this change, but this isn't done here.