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

Truncate SNR/FAR for live pastro calcs #4278

Merged
merged 5 commits into from
Mar 10, 2023

Conversation

tdent
Copy link
Contributor

@tdent tdent commented Mar 7, 2023

This will require changes / additional info in the .json config file for the live p astro calculation, eg

"method": "template_param_bins_types_farlim",
...
"limit_snr": 12.0,
"limit_far": 3.17e-10

for a limiting FAR of (just over) 1/100yr and SNR of 12.

@tdent tdent requested a review from titodalcanton March 7, 2023 13:12
@titodalcanton
Copy link
Contributor

titodalcanton commented Mar 8, 2023

One small comment but otherwise this looks good to me. Is there more coming? Should I test this at IJCLab? Also please rebase on master.

@tdent
Copy link
Contributor Author

tdent commented Mar 8, 2023

Hopefully the return logic is still correct after 'negation', please check ..

@titodalcanton
Copy link
Contributor

Testing at IJCLab.

@titodalcanton titodalcanton merged commit 405b8ab into gwastro:master Mar 10, 2023
titodalcanton pushed a commit that referenced this pull request Mar 17, 2023
* Truncate SNR/FAR for live pastro calcs

* codecliming

* reverse branch logic to return sooner

* fix indent/codeclimate
yi-fan-wang pushed a commit to yi-fan-wang/pycbc that referenced this pull request May 30, 2023
* Truncate SNR/FAR for live pastro calcs

* codecliming

* reverse branch logic to return sooner

* fix indent/codeclimate
yi-fan-wang pushed a commit to yi-fan-wang/pycbc that referenced this pull request Jun 1, 2023
* Truncate SNR/FAR for live pastro calcs

* codecliming

* reverse branch logic to return sooner

* fix indent/codeclimate
acorreia61201 pushed a commit to acorreia61201/pycbc that referenced this pull request Apr 4, 2024
* Truncate SNR/FAR for live pastro calcs

* codecliming

* reverse branch logic to return sooner

* fix indent/codeclimate
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