Skip to content

Combined plotifar#5034

Merged
tdent merged 5 commits intogwastro:masterfrom
tdent:combined_plotifar
Feb 10, 2025
Merged

Combined plotifar#5034
tdent merged 5 commits intogwastro:masterfrom
tdent:combined_plotifar

Conversation

@tdent
Copy link
Copy Markdown
Contributor

@tdent tdent commented Feb 6, 2025

Addresses #5006

Standard information about the request

This is a: new feature

This change affects: the offline search

This change changes: result presentation / plotting

This change: follows style guidelines (See e.g. PEP8), has been proposed using the contribution guidelines

Motivation

See #5006

Contents

Add a plotting script

Links to any issues or associated PRs

#5006 (again)

Testing performed

It produces a plot given exclude_zerolag files from a recent run with singles

Copy link
Copy Markdown
Contributor

@GarethCabournDavies GarethCabournDavies left a comment

Choose a reason for hiding this comment

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

Thanks for getting to this! A couple of comments, but I think this is close to being right.

Comment thread bin/plotting/pycbc_page_ifar_vs_stat
Comment thread bin/plotting/pycbc_page_ifar_vs_stat
Comment thread bin/plotting/pycbc_page_ifar_vs_stat Outdated
Comment thread bin/plotting/pycbc_page_ifar_vs_stat Outdated
Comment thread bin/plotting/pycbc_page_ifar_vs_stat Outdated
Comment thread bin/plotting/pycbc_page_ifar_vs_stat Outdated
Comment thread bin/plotting/pycbc_page_ifar_vs_stat Outdated
@tdent
Copy link
Copy Markdown
Contributor Author

tdent commented Feb 8, 2025

So .. atm I have this

        logging.info(f"Ifos {exc_zlag_f.attrs['ifos']}")  # eg 'H1 L1'
        event_ifos = exc_zlag_f.attrs['ifos'].split()  # eg ['H1', 'L1']
        sig_key = ''.join(event_ifos)  # eg 'H1L1'
        coinc_key = sig_key.replace('1', '')  # eg 'HL'

are all these different forms really needed ?

@tdent
Copy link
Copy Markdown
Contributor Author

tdent commented Feb 8, 2025

Seems I was able to do without event_ifos at least.

Copy link
Copy Markdown
Contributor

@GarethCabournDavies GarethCabournDavies left a comment

Choose a reason for hiding this comment

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

LGTM - there are a couple of places which might be nice to get new features, but those aren't important straight away

@tdent tdent enabled auto-merge (squash) February 10, 2025 12:02
@tdent tdent merged commit a83736d into gwastro:master Feb 10, 2025
@tdent tdent added the v23_release_branch PRs applied to the v2.3.X release branch or to be cherry-picked if merging to master label Feb 11, 2025
spxiwh pushed a commit to spxiwh/pycbc that referenced this pull request Feb 18, 2025
* added plot script

* cleanups

* remove now unused bits

* Generalize fit plotting

* rename script
@spxiwh spxiwh mentioned this pull request Feb 18, 2025
spxiwh pushed a commit to spxiwh/pycbc that referenced this pull request Feb 27, 2025
* added plot script

* cleanups

* remove now unused bits

* Generalize fit plotting

* rename script
spxiwh pushed a commit to spxiwh/pycbc that referenced this pull request Feb 27, 2025
* added plot script

* cleanups

* remove now unused bits

* Generalize fit plotting

* rename script
spxiwh added a commit that referenced this pull request Feb 27, 2025
* Merge part of 4997 to avoid failure

* Bump to v2310

* Compressed waveforms bank workflow (#4969)

* Add compressed waveforms to bank workflow

* Allolw plotting script to use any bank conversion parameter

* Some fixes to allow the joined bank to be plotted

* Use inference's parameter labels: they are available and mostly good

* Add mismatch to plotting, make some tweaks

* some tidying

* thinko

* Try to make the CI workflow run

* Fix do-not-compress default

* Use different examples in compress bank workflow

* Proper name for the github workflow

* Thinko

* python shebang in compression workflow script

* minor edits

* move to readily-available waveform

* TRy IMRPhenomD instead

* revert change to workflow.core

* Warn for KeyError in get_decompressed_waveform

* Fix issue with if get_decompressed_waveform raised a ValueError

* Combined plotifar (#5034)

* added plot script

* cleanups

* remove now unused bits

* Generalize fit plotting

* rename script

* Added page_farstat in summary (#5052)

* Fix release naming

* Stat correction patch (#5061)

* Limit number of stage output jobs

* Reorganize FAR/stat plots on summary page (#5061)

* Get the dq files into a nice layout (#5064)

* Sphinx version CI fix (#5060)

* Update pycbc_page_fars_vs_stat (#5067)

---------

Co-authored-by: Gareth S Cabourn Davies <gareth.cabourndavies@ligo.org>
Co-authored-by: Thomas Dent <thomas.dent@usc.es>
Co-authored-by: Rahul Dhurkunde <rahul.dhurkunde@ldas-pcdev6.ligo.caltech.edu>
@GarethCabournDavies GarethCabournDavies removed the v23_release_branch PRs applied to the v2.3.X release branch or to be cherry-picked if merging to master label Mar 14, 2025
khunsang pushed a commit to khunsang/pycbc that referenced this pull request May 23, 2025
* added plot script

* cleanups

* remove now unused bits

* Generalize fit plotting

* rename script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants