pytimbre.utilities.yin.absolute_thresholding¶
- pytimbre.utilities.yin.absolute_thresholding(cmndf, threshold, lag_min, lag_max, parabolic_interp=True)¶
Absolute thresholding: Set an absolute threshold and choose the smallest value of tau that gives a minimum of d’ deeper than that threshold. If none is found, the global minimum is chosen instead.
- Parameters:
cmndf (ndarray) – Cumulative Mean Normalized Difference Function
threshold (float) – Threshold
lag_min (float) – Minimal lag
lag_max (float) – Maximal lag
parabolic_interp (bool) – Switch to activate/deactivate parabolic interpolation