ACFPeriodicityDetector.detect#
- static ACFPeriodicityDetector.detect(data, window_func='boxcar', detrend_func='linear', max_period_count=None)#
Find periods in the given series.
- Parameters:
- dataarray_like
Data to be investigated. Must be squeezable to 1-d.
- window_funcfloat, str, tuple, optional, default = ‘boxcar’
Window function to apply. See
scipy.signal.get_windowfor accepted formats of thewindowparameter.- detrend_func{‘constant’, ‘linear’}, optional, default = ‘linear’
The kind of detrending to apply. If None, no detrending is applied.
- max_period_countint, optional, default = None
Maximum number of periods to return. If None, all detected periods are returned.
- Returns:
- NDArray
Array of detected periodicity lengths, sorted by strength in descending order
See also
scipy.signal.get_windowReturn a window of a given length and type.