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

pycbc_page_fars_vs_stat : x axis limits #5067

Merged
merged 4 commits into from
Feb 27, 2025
Merged

pycbc_page_fars_vs_stat : x axis limits #5067

merged 4 commits into from
Feb 27, 2025

Conversation

tdent
Copy link
Contributor

@tdent tdent commented Feb 27, 2025

Add min/max x options

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

This change will: slightly improve some presentation

Motivation

I could not anticipate just how much we would want to penalize the stat of some event types ..

Contents

See description

Add min/max x options
@tdent tdent requested a review from spxiwh February 27, 2025 15:04
spxiwh added a commit to spxiwh/pycbc that referenced this pull request Feb 27, 2025
@tdent
Copy link
Contributor Author

tdent commented Feb 27, 2025

I'm just testing it to check there is nothing stupid ... am getting a problem with --min-x -12 though

@tdent tdent changed the title Update pycbc_page_fars_vs_stat pycbc_page_fars_vs_stat : x axis limits Feb 27, 2025
@tdent
Copy link
Contributor Author

tdent commented Feb 27, 2025

Has now been tested - the negative number argument is a bit tricky (edited: see below) but hopefully we don't need to tweak it much more

@tdent tdent enabled auto-merge (squash) February 27, 2025 15:35
spxiwh added a commit to spxiwh/pycbc that referenced this pull request Feb 27, 2025
@spxiwh
Copy link
Contributor

spxiwh commented Feb 27, 2025

It's really not-trivial to send --min-x=-12. through the workflow generator (see similar discussion about --ra=-0.3rad in PyGRB context ... However, I didn't think that --min-x -12 would be a problem?

@titodalcanton
Copy link
Contributor

Try without the period, I do not think it matters anyway if the argument type is set to float.

@tdent
Copy link
Contributor Author

tdent commented Feb 27, 2025

Gah - so yes, --min-x 12 and --min-x 12.5 do both work. Argparse is funny

@tdent tdent merged commit fe73c0b into master Feb 27, 2025
61 checks passed
@tdent tdent deleted the tdent-far-xlim branch February 27, 2025 16:13
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 <[email protected]>
Co-authored-by: Thomas Dent <[email protected]>
Co-authored-by: Rahul Dhurkunde <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants