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

PyGRB: Propagating slide_id information across postprocessing plotting scripts #4809

Merged
merged 39 commits into from
Jul 29, 2024

Conversation

sebastiangomezlopez
Copy link
Contributor

Standard information about the request

This is a new feature that propagates slide_id information across some PyGRB's plotting scripts. In particular it implements a new way of displaying triggers from a specific slide_id.

Currently some PyGRB plots are overpopulated with the addition of timeslides in recent runs. For example, the following plot shows the background triggers obtained from zerlolag data + all timeslides (blue crosses), and just zerolag data, i.e. slide_id=0 (black crosses) around GW170817

image

This change affects: PyGRB

  • pycbc/bin/pycbc_pygrb_plot_snr_timeseries

  • pycbc/bin/pycbc_pygrb_plot_coh_ifo_snr

  • pycbc/bin/pycbc_pygrb_plot_null_stats

  • pycbc/bin/pycbc_pygrb_plot_chisq_veto

  • pycbc/results/pygrb_plotting_utils.py

  • pycbc/results/pygrb_postprocessing_utils.py

Adding the option to feed a pyplot figure object to ease debugging
load_triggers: Adding the capability to select triggers with certain slide_id
pycbc_pygrb_plot_snr_timeseries: propagating the slide_id functionalities across plotting scripts. We only want to show slide_id=0 in this plots
Update pycbc_pygrb_plot_chisq_veto: propagating slide_id functionalities across plotting scripts. Here we only want to display slide_id=0
pycbc_pygrb_plot_coh_ifosnr: propagating slide_id functionalities, here we only want to display slide_id=0
pycbc_pygrb_plot_null_stats: propagating slide_id information, here we only want to display slide_id=0
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
pycbc/results/pygrb_plotting_utils.py Outdated Show resolved Hide resolved
pycbc/results/pygrb_plotting_utils.py Outdated Show resolved Hide resolved
bin/pygrb/pycbc_pygrb_plot_coh_ifosnr Outdated Show resolved Hide resolved
@sebastiangomezlopez sebastiangomezlopez changed the title Propagating slide_id information across postprocessing plotting scripts PyGRB: Propagating slide_id information across postprocessing plotting scripts Jul 22, 2024
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
pycbc/results/pygrb_postprocessing_utils.py Outdated Show resolved Hide resolved
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
bin/pygrb/pycbc_pygrb_plot_snr_timeseries Outdated Show resolved Hide resolved
pycbc/results/pygrb_postprocessing_utils.py Outdated Show resolved Hide resolved
Co-authored-by: Francesco Pannarale <francesco.pannarale@ligo.org>
Copy link
Contributor

@titodalcanton titodalcanton left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@sebastiangomezlopez sebastiangomezlopez enabled auto-merge (squash) July 26, 2024 12:38
@titodalcanton titodalcanton dismissed pannarale’s stale review July 29, 2024 09:23

Request satisfied by latest commits

@sebastiangomezlopez sebastiangomezlopez merged commit ba7b9c0 into gwastro:master Jul 29, 2024
32 checks passed
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.

None yet

3 participants