Giter Site home page Giter Site logo

Comments (3)

erdogant avatar erdogant commented on May 18, 2024

I looked into it and it appears that the default noise reduction method (fastnl) is not optimal in your case.
If you take lee_enhanced, the peaks are as what we would expect by eye.

Update to the latest version with pip install -U findpeaks because I added a small function to read images from URL imread().

from findpeaks import findpeaks
path = r'https://user-images.githubusercontent.com/44827483/221152897-133839bb-7364-492a-921b-c9077ab9930b.png'
fp = findpeaks(method='topology', denoise='lee_enhanced', window=5, whitelist='peak')
X = fp.imread(path)

fp.fit(X)
fp.plot_persistence()
fp.plot()
fp.plot_mesh()

The persistence will give you more feeling how the peaks are detected. See more information here.

image
image

from findpeaks.

Tom89757 avatar Tom89757 commented on May 18, 2024

Thank you for your reply. It really helps me.

from findpeaks.

erdogant avatar erdogant commented on May 18, 2024

👍🏻 closing this one as it is solved.

from findpeaks.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.