on-internet
← Community

Trying to identify peaks with >5 points using find_peaks or other methods in python

Stack Overflow ·

I'm trying to analyse some data I collected trying to investigate the NO2 levels in ambient air in towns. I've been able to plot my data, however, I'm having trouble trying to pick out which peaks are real and which are likely just noise or other factors. The gas has a residence time of 5 seconds in the machine, so peaks with 5 or more data points in them can be interpreted as real responses. I'm trying to use the find_peaks function (?) to try find all of these real peaks, but have been struggling to get it working. The data either wont plot onto the existing graph, or I'll get the type error

Comments

Sign in or sign up to comment and upvote.

No comments yet.