pycbc icon indicating copy to clipboard operation
pycbc copied to clipboard

Speed up psd computation for PyCBC Live

Open spxiwh opened this issue 1 year ago • 0 comments

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).

spxiwh avatar Aug 12 '22 10:08 spxiwh