来自scipy.signal的savgol_filter函数参数的一些疑惑

Some doubts about the parameters of the savgol_filter function from scipy.signal

我正在阅读来自

scipy.signal.savgol_filter的文档

https://docs.scipy.org/doc/scipy-0.16.1/reference/generated/scipy.signal.savgol_filter.html

我对下面摘录中定义的参数 derivdelta 表示怀疑:

deriv : int, optional

The order of the derivative to compute. This must be a nonnegative integer. The default is 0, which means to filter the data without differentiating.

delta : float, optional

The spacing of the samples to which the filter will be applied. This is only used if deriv > 0. Default is 1.0.

关于参数deriv=0:这是否意味着当deriv=0时函数提供原始数据的平滑版本,当deriv=1 ] 该函数提供了原始数据的一阶导数的平滑版本?

关于参数delta:是否意味着函数scipy.signal.savgol_filter只适用于均匀采样的数据?

作为该代码的作者,我可以肯定地说:是的,是的。