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

Passing vetoes to scripts in pygrb results sub workflow #4933

Merged
merged 10 commits into from
Nov 14, 2024

Conversation

pannarale
Copy link
Contributor

This PR is the second 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.

If this change breaks 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

Prior to these PRs, PyGRB was not using data vetoes.

Contents

  • The results workflow generator for PyGRB is now passing segments files and the vdf to all results scripts
  • The utility functions involved in loading trigger/injeciton data in pygrb were generalised
  • pycbc_pygrb_plot_skygrid was updated accordingly as a first example.

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).

  • The author of this pull request confirms they will adhere to the code of conduct

@pannarale pannarale added the PyGRB PyGRB development label Nov 11, 2024
@pannarale pannarale self-assigned this Nov 11, 2024
@titodalcanton titodalcanton merged commit 8d14704 into gwastro:master Nov 14, 2024
29 checks passed
@pannarale pannarale deleted the pygrb_vetoes branch November 14, 2024 10:39
prayush pushed a commit to prayush/pycbc that referenced this pull request Nov 21, 2024
* Passing segments files and vdf to all results scripts from pycbc_pygrb_results_workflow

* Generalised functions involved in loading trigger/injeciton data in pygrb

* Updating pycbc_pygrb_plot_skygrid accordingly

* Typo in comment

* No f-string in logging

* Improved a logging message and 2 code comments

* Renaming variable that was forgotten

* Removed redundant variable

* Blending _load_triggers into load_data

* Blending _load_triggers into load_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PyGRB PyGRB development
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants