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

Live: enable per-detector analysis flags #2636

Merged

Conversation

titodalcanton
Copy link
Contributor

@titodalcanton titodalcanton commented Apr 9, 2019

I do some refactoring of the data reader code in pycbc_live, and add the ability to use different analysis flags for different detectors. This is necessary for Virgo in O3.

This patch also fixes a couple bugs in the followup code that cause exceptions when one of the detectors is not observing.

Note that this patch will require a change in the current PyCBC Live configuration.

Needs testing.

@titodalcanton titodalcanton added this to the PyCBC Live O3 update 2 milestone Apr 12, 2019
@titodalcanton titodalcanton force-pushed the live_ifo_specific_analyze_flags branch from e03f34f to efb015b Compare April 14, 2019 17:01
@titodalcanton titodalcanton changed the title [WIP] Live: enable per-detector analysis flags Live: enable per-detector analysis flags Apr 15, 2019
@titodalcanton
Copy link
Contributor Author

@ahnitz I still need to test this more carefully, but the approach is finalized, so ready for your review.

@titodalcanton
Copy link
Contributor Author

This is now tested with fake frame files carrying various combinations of states and DQ vetoes. @ahnitz ready for your review.

bin/pycbc_live Outdated Show resolved Hide resolved
@ahnitz
Copy link
Member

ahnitz commented Apr 20, 2019

@titodalcanton One minor question, otherwise, this seems fine.

@titodalcanton titodalcanton force-pushed the live_ifo_specific_analyze_flags branch from 815f660 to 38e5c69 Compare April 21, 2019 17:02
@titodalcanton titodalcanton merged commit b06984b into gwastro:master Apr 21, 2019
@titodalcanton titodalcanton deleted the live_ifo_specific_analyze_flags branch April 21, 2019 23:27
JulianWesterweck pushed a commit to JulianWesterweck/pycbc that referenced this pull request Jun 7, 2019
* A bit of refactoring, and enable per-detector analysis flags

* Add new LIGO DQ flag

* Enable usage of inverted Virgo-style DQ channel

* Typo

* Typo and codeclimate

* Typo

* Only use DQ vector when available

* Remove unused arg

* Avoid dangerous variable reuse

* Fix errors

* Move StrainBuffer init to class method
OliverEdy pushed a commit to OliverEdy/pycbc that referenced this pull request Apr 3, 2023
* A bit of refactoring, and enable per-detector analysis flags

* Add new LIGO DQ flag

* Enable usage of inverted Virgo-style DQ channel

* Typo

* Typo and codeclimate

* Typo

* Only use DQ vector when available

* Remove unused arg

* Avoid dangerous variable reuse

* Fix errors

* Move StrainBuffer init to class method
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