sdynpy.signal_processing.sdynpy_frf.delay_signal
- delay_signal(times, signal, dt)[source]
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 – The time-shifted signal.
- Return type
np.ndarray