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

Improve how PyCBC Live deals with bad data in frame files? #4800

Open
titodalcanton opened this issue Jun 26, 2024 · 0 comments
Open

Improve how PyCBC Live deals with bad data in frame files? #4800

titodalcanton opened this issue Jun 26, 2024 · 0 comments

Comments

@titodalcanton
Copy link
Contributor

Low-latency frame files might in rare occasions stop containing one of the required channels (strain data or state vector). In that case, PyCBC Live's current frame reading code will cause it to reach the timeout limit, behaving effectively as if the frame files did not exist. Although this is not necessarily a bad behavior, maybe it would be better to immediately treat the interferometer with missing channel as not analyzable, so as not to unnecessarily slow down the analysis of the other interferometers.

While looking into this, and following various discussions in the LVK, I also realized that one could first check the state vector, and if the state vector indicates analyzable data, then try to read the strain channel. PyCBC Live currently does the opposite, i.e. read the strain first, then the state vector, and then drop the data if the state is bad. I am not sure how much practical advantage changing this would bring, but at least it feels like a more correct approach, and cleanly allows frame files to drop the strain channel when the detector is not observing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant