Smooth of series data
问题 i need to smooth better this kind of plot, I've already used a moving average (10 points) to get this plot but it's not yet perfect. I want to remove all these little peaks dued by noise, I need to consider only the bigger ones because I'm counting the num of beats from a sensor. (ie.: in the first 30 seconds I should have just one peak instead of several successive little peaks) I thought to use a cubic spline but isn't simple to implement in C and it's going to take almost 1-2 weeks of work