我正在使用Scipy的1d插值和interp1d。下面是我正在使用的代码
Hest_abs = scipy.interpolate.interp1d(pilotCarriers, abs(Hest_at_pilots), kind='linear')(allCarriers)
正如我在“1d interpolation with interp1d”的类声明中所看到的,应该这样做:
class scipy.interpolate.interp1d(x, y, kind='linear', axis=-1, copy=True, bounds_error=None, fill_value=nan, assume_sorted=False)
我的问题是,上面代码中的(allCarriers)执行了什么操作?因为我是python新手,所以任何帮助都是有用的
https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html
所以
创建一个
callable
的对象,即可以用作函数:相关问题 更多 >
编程相关推荐