-
Notifications
You must be signed in to change notification settings - Fork 356
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
Introducing syntax for vetoing injections in PyGRB and final version of pycbc_pygrb_plot_null_stats
#4947
Conversation
…e apply_vetoes_to_found_injs for the time being)
@MarcoCusinato, thinking about your comments in #4941, I introduced a new function ( |
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.
Addressed few typos in the comments
Thanks! |
…of `pycbc_pygrb_plot_null_stats` (gwastro#4947) * Introducing a (mute) apply_vetoes_to_found_injs function in PyGRB * Version of pycbc_pygrb_plot_null_stats with vetoes (albeit with a mute apply_vetoes_to_found_injs for the time being) * Small cleanup * Addresing typos * Update bin/pygrb/pycbc_pygrb_plot_null_stats --------- Co-authored-by: Marco Cusinato <marco.cusinato.96@gmail.com>
This PR is the fourth in the series started in PR #4929.
Standard information about the request (and the following ones that will be linked to this)
This is a: a new feature enabling veto definer file usage in PyGRB. Utilities and scripts in results production are being streamlined along the way.
This change affects: PyGRB
This change changes: result presentation / plotting and scientific output.
Should this change break the standard automated test running
--help
for PyGRB plotting scripts, I will add some workarounds to avoid this. If needed, these will likely be empty functions: the plotting scripts will be progressively renovated in the whole series of PRs.Motivation
Now that the workflow generator passes the veto definer file to the jobs where needed, its usage in the PyGRB results scripts is possible.
Contents
pycbc_pygrb_plot_null_stats
.apply_vetoes_to_found_injs
is introduced. At the moment it does not veto any injections (this will be a dedicated PR) but it introduces the syntax all results scripts will need to follow.Testing performed
The totality of the changes that will be broken down in multiple PRs was tested on GRB 170817A data by producing a full results webpage (see here).