get_timezone#

gwpy.detector.get_timezone(ifo: str) str[source]#

Return the timezone for the given interferometer prefix.

Parameters:
ifostr

Prefix of interferometer, e.g. 'X1'

Returns:
timezonestr

The name of the timezone for ifo.

Raises:
ValueError

If ifo is not recognised.

Examples

>>> get_timezone("G1")
'Europe/Berlin'