bilby.gw.utils.get_event_time

bilby.gw.utils.get_event_time(event)[source]

Get the merger time for known GW events using the gwosc package

Parameters:
event: str

Event name, e.g. GW150914

Returns:
event_time: float

Merger time

Raises:
ImportError

If the gwosc package is not installed

ValueError

If the event is not in the gwosc dataset