pygwb.preprocessing.shift_timeseries

pygwb.preprocessing.shift_timeseries(time_series_data: TimeSeries, time_shift: int = 0)[source]

Function that shifts a timeseries by an amount time_shift in order to perform the timeshifted analysis.

Parameters:
  • time_series_data (gwpy.timeseries.TimeSeries) – Timeseries data to be analysed in the pipeline.

  • time_shift (int, optional) – Value of the time shift (in seconds). Default value is 0.

Returns:
shifted_data: gwpy.timeseries.TimeSeries

TimeSeries containing the shifted_data.