Skip to content

gwpy/gwtrigfind

Repository files navigation

GWTrigFind

A utility to find GW trigger files produced by event trigger generators and archived on the LIGO Data Grid.

PyPI version Documentation Status Build status Code coverage

Quickstart for python

To discover trigger files for a given channel:

>>> from gwtrigfind import find_trigger_files
>>> cache = find_trigger_files(channel, etg, gpsstart, gpsend)

The resulting cache can then be read easily into a table using gwpy:

>>> from gwpy.table import EventTable
>>> t = EventTable.read(cache, format='ligolw', tablename='sngl_burst')

The format argument depends on the etg you use, but is likely to be one of 'hdf5', 'ligolw', or 'root'.

Quickstart for command-line

The same query can be performed from the command line by passing each of the functional arguments above as arguments to the gwtrigfind executable script:

gwtrigfind <channel> <etg> <gpsstart> <gpsend>