0

I'm currently using peakutils to find peaks in some data. My data contains some "dull peaks", that is my peaks plateau somewhat. I can't set my code to find these peaks even after playing around with the threshold and minimum distance parameters. The graph has the same maximum for 2 straight data points, and then fall back down. Yet they are still not considered peaks. Any help would be appreciated.

Graph 1

My code is essentially the same as in this example.

1
  • Please see minimal reproducible example. If you can include the actual code you're using, it will help folks be able to pinpoint your problem. The link you've provided will take readers more than a reasonable amount of time to track down what it is you're trying to say, and may not help them answer your specific problem. Commented Jul 23, 2017 at 3:01

1 Answer 1

2

In working with the repo owner on this same problem I discovered that the module was not up to date. I made the mistake as a beginner to python of assuming that imports were always the most recent version, a simple version update resolved this issue as the module has included this feature in version 1.1.0. I had to ask my own question for this, days ago, as I could not comment on your question due to low rep.

What I did, in terminal, is run pip freeze to find my current version and then sudo pip install peakutils --upgrade to update it.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.