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.

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)