event_detectors

gwosc.datasets.event_detectors(event, catalog=None, version=None, host='https://gwosc.org', session=None)

Returns the set of detectors that observed an event

Parameters:
event

the name of the event to query

version=None

the version of the data release to use, defaults to the highest available version

catalog=None

name of catalogue that hosts this event

host='https://gwosc.org'

the URL of the GWOSC host to query, defaults to https://gwosc.org

session=None

HTTP session to use for making requests, defaults to using a new session for each API call

Returns:

detectors – the set of detectors for which data file URLs are included in the data release

Return type:

set

Examples

>>> from gwosc.datasets import event_detectors
>>> event_detectors("GW150914")
{'H1', 'L1'}