def _smooth_acf_savgol(acf, windowsize=21, polyorder=2):
'''
This returns a smoothed version of the ACF.
This version uses the Savitsky-Golay smoothing filter
'''
smoothed = savgol_filter(acf, windowsize, polyorder)
return smoothed
评论列表
文章目录