Ft/extrema detection