Source: GitHub
Signature¶
def sdynpy.signal_processing.sdynpy_frf.delay_signal(times, signal, dt)Delay a time signal by the specified amount
This function takes a signal and delays it by a specified amount of time that need not be an integer number of samples. It does this by adjusting the phaes of the signal’s FFT.
Parameters¶
times : np.ndarray A signal specifying the time values at which the samples in signal occur.
signal : np.ndarray A signal that is to be delayed (n_signals x len(times))
dt : float The amount of time to delay the signal
Returns¶
updated_signal : np.ndarray The time-shifted signal.