return_period_of_signal¶
- HSTB.kluster.modules.wobble.return_period_of_signal(sig)¶
Use autocorrelation to find the frequency/period of the signal. Autocorrelation will generate a copy of the input signal, time-lagged, and slide it over the original until it matches.
- Parameters
sig (
DataArray) – signal values with coordinates equal to time- Returns
max period of the input signals
- Return type
float