get_timezone#
- gwpy.detector.get_timezone(ifo: str) str[source]#
Return the timezone for the given interferometer prefix.
- Parameters:
- ifo
str Prefix of interferometer, e.g.
'X1'
- ifo
- Returns:
- timezone
str The name of the timezone for
ifo.
- timezone
- Raises:
ValueErrorIf
ifois not recognised.
Examples
>>> get_timezone("G1") 'Europe/Berlin'