Smoothing out curve in Python

后端 未结 2 555
北恋
北恋 2021-01-02 20:05

I have two lists of data points:

list_x = [-10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,         


        
2条回答
  •  心在旅途
    2021-01-02 20:18

    Because your data is approximate (i.e., it has been quantized), you want an approximating spline, not an interpolating spline.

提交回复
热议问题