pyampact.speechDescriptorsUtils.compute_dfa
- pyampact.speechDescriptorsUtils.compute_dfa(y, min_window=4, max_window=None, n_windows=20)[source]
Compute DFA (Detrended Fluctuation Analysis) scaling component (alpha) for 1D signal y
- Parameters:
y (array) – speech segment waveform
min_window (max_window) – smallest window size (samples); default = 4
min_window – largest window size (samples); default = len(y)//4
n_windows (int) – number of window sizes to test; default = 20
- Returns:
alpha – DFA scaling exponent
- Return type:
float