Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试制作一个 python 脚本,它将根据测量的角度输出力。输入是时间、曲线和角度,但我无法使用插值来拟合曲线的力。我查看了 scipy.interpolate,但我不确定它是否会对我有所帮助,因为这些点的间距不均匀。
numpy.interp不需要您的积分均匀分布。我不确定您的意思是“输入是时间、曲线和角度”是否具有三个自变量,如果是这样,您将不得不对其进行相当大的调整……但是对于单变量问题,interp是要走的路。
numpy.interp
interp