event_segment
- gwosc.datasets.event_segment(event, detector=None, catalog=None, version=None, host='https://gwosc.org')
Returns the GPS
[start, stop)
interval covered by an event dataset- Parameters:
event (
str
) – the name of the eventdetector (
str
, optional) – prefix of GW detectorcatalog (
str
, optional) – name of catalogue that hosts this eventversion (
int
,None
, optional) – the version of the data release to use, defaults to the highest available versionhost (
str
, optional) – the URL of the GWOSC host to query, defaults to https://gwosc.org
- Returns:
start, end – the GPS
[start, end)
interval covered by this run dataset- Return type:
Examples
>>> from gwosc.datasets import event_segment >>> event_segment("GW150914") segment(1126257415, 1126261511)