A utility to find GW trigger files produced by event trigger generators and archived on the LIGO Data Grid.
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'
.
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>