Line smoothing in Python

I’m looking for a line smoothing algorithm in Python; specifically, something which will take the list of data points plotted in the top line in this image and convert it to the bottom line. I’ve got a list of data points to smooth; I’m not looking to smooth the image of the line.


Anyone got any direct suggestions? I’m not much cop at maths things like this.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)