Revision ab5cae54e29175a1ac7672e4a83788ea5c0e77dd authored by Alex Nitz on 06 November 2020, 21:00:02 UTC, committed by GitHub on 06 November 2020, 21:00:02 UTC
* update for gwtc-2 catalog * Update catalog.py
1 parent 579d481
dataquality.rst
#############################################################
Query times of valid data, hardware injections, and more.
#############################################################
Information about the state of the LIGO/Virgo data can be queried from
resources at the GWOSC and from LVC-proprietary DQSEGDB through the
functions of the :py:mod:`pycbc.dq` module. We will outline a few of common
tasks below.
=================================================
Determine the times an instrument has valid data
=================================================
.. plot:: ../examples/dataquality/on.py
:include-source:
====================================
Finding times of hardware injections
====================================
.. plot:: ../examples/dataquality/hwinj.py
:include-source:
========================
What flags can I query?
========================
A list of many of the flags which can be quiered is `available here <https://www.gw-openscience.org/archive/dataset/O1/>`_. Instead, just give the
raw name such as "DATA" instead of "H1_DATA".
There are two additional types of flags which can be queried. These are
the negation of the flags like "NO_CBC_HW_INJ". The flag "CBC_HW_INJ" would
give times where there *is* a hardware injection instead of times when
there isn't. Similarly if you use "CBC_CAT2_VETO" instead of "CBC_CAT2" you
will get the times that are adversely affected instead of the times that
are not.
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...