-
Notifications
You must be signed in to change notification settings - Fork 359
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
Speed up psd computation for PyCBC Live #4106
Merged
titodalcanton
merged 13 commits into
gwastro:master
from
spxiwh:pr_speed_up_live_psd_comp
Sep 1, 2022
Merged
Speed up psd computation for PyCBC Live #4106
titodalcanton
merged 13 commits into
gwastro:master
from
spxiwh:pr_speed_up_live_psd_comp
Sep 1, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Any comments on this one? This PR only makes changes that affects pycbc_live, and is basically just an addition to what was done in #4096 |
titodalcanton
approved these changes
Aug 30, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks ok to me apart from the suggestion above.
Co-authored-by: Tito Dal Canton <tito@dalcanton.it>
connor-mcisaac
pushed a commit
to connor-mcisaac/pycbc
that referenced
this pull request
Oct 12, 2022
* Implement "don't always recompute PSD" option * Add caching functions in estimate as well * Fix typo in pycbc_live * Add more caching to pycbc_live front end * Add in the new option * FFT - Fix for cached fft/ifft * Codeclimating * Add positive_int type as requested * Line spacing * Enforce positive_int * Need to actually return object * Update bin/pycbc_live Co-authored-by: Tito Dal Canton <tito@dalcanton.it> * Update optparse.py Co-authored-by: Tito Dal Canton <tito@dalcanton.it>
acorreia61201
pushed a commit
to acorreia61201/pycbc
that referenced
this pull request
Apr 4, 2024
* Implement "don't always recompute PSD" option * Add caching functions in estimate as well * Fix typo in pycbc_live * Add more caching to pycbc_live front end * Add in the new option * FFT - Fix for cached fft/ifft * Codeclimating * Add positive_int type as requested * Line spacing * Enforce positive_int * Need to actually return object * Update bin/pycbc_live Co-authored-by: Tito Dal Canton <tito@dalcanton.it> * Update optparse.py Co-authored-by: Tito Dal Canton <tito@dalcanton.it>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
One more patch to try to help with
pycbc_live
performance:This one moves the FFTs in PSD estimation (done during inverse spectrum truncation), to the new
cached_fft
functions.I also add an option to allow the PSD not to be recomputed every data block. For the early warning analysis, with 1 second blocks, this is especially relevant. I have set this such that if the data is "bad" the PSD must be recomputed as soon as it is "good" again. (It's still not entirely clear to me what data is used for PSD estimation, and if we should continue computing PSDs until we have X data blocks in the buffer, and then only recompute every Y data blocks).