-
Notifications
You must be signed in to change notification settings - Fork 353
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
Bug in PyCBC reproducible noise: Discontinuities present over frame boundaries #4772
Comments
Plotting code to make omega scan:
|
@spxiwh The hint from @ArthurTolley I think explains the issue potentially. Try the following and I think it will look "ok".
I suspect that the PSD you are using goes to somewhat interesting behavior (e.g. which result in numerical instability near DC) if you allow it to go to zero frequency, so you need the option to set the flow for the noise generation. |
Thanks @ahnitz, annoyingly I used |
Phew, the documentation page for condition_strain does mention |
Serves me right for using an old example (from pycbc/examples/live/run.sh) instead of going directly to the documentation 😅 |
Unless there are objections, I will re-name the issue to be that the low-frequency-cutoff options in pycbc_condition_strain need explaining better in the documentation |
We should probably add |
I still believe this is a bug, and not a documentation problem. It may be an unavoidable and understandable bug, but it is dangerous, and we probably need a sanity check in the reproducible noise module to check for things like the PSD covering too large a dynamic range and/or certain values going out of a valid range. |
Details from @ArthurTolley:
We are trying to use
pycbc_condition_strain
to make a long stretch of simulated data with short frame files (to test PyCBC Live like operation). This saw a lot of glitches, Arthur produced the following minimal example:which produces two data chunks with a discontinuous boundary (Q-scan over boundary):
I can't see anything wrong here. Arthur says if the PSD is changed to aLIGOMidLowSensitivityP1200087 the data is good, but we shouldn't have "bad" and "good" PSDs in this context.
The text was updated successfully, but these errors were encountered: