minute_trend_times#
- gwpy.io.nds2.minute_trend_times(start: int, end: int) tuple[int, int][source]#
Expand a [start, end) interval for use in querying for minute trends.
NDS2 requires start and end times for minute trends to be a multiple of 60 (to exactly match the time of a minute-trend sample), so this function expands the given
[start, end)interval to the nearest multiples.- Parameters:
- Returns:
Examples
>>> minute_trend_times(123, 456) (120, 480)