findpeaks’s documentation!

|Python |Python Version Sphinx documentation Stars lines of code Downloads per month Downloads in total License Github Forks Open Issues Project Status Medium Blog Colab example Cite repo-size donate


findpeaks logo

findpeaks is a comprehensive Python library for robust detection and analysis of peaks and valleys in both 1D vectors and 2D arrays (images). The library provides multiple detection algorithms including topology-based persistent homology (most robust), mask-based local maximum filtering, and traditional peakdetect approaches.


Key Features:
  • Multiple Detection Methods: Topology (persistent homology)

  • 1D and 2D Support: Works with time series, signals, images, and spatial data

  • Advanced Preprocessing: Denoising, scaling, interpolation, and image preprocessing

  • Rich Visualization: Persistence diagrams, 3D mesh plots, preprocessing steps, and masking plots

  • Mathematical Stability: Topology method provides mathematically grounded peak detection

  • Hough Transform Applications: Enhanced robustness for computer vision applications

The library includes comprehensive preprocessing capabilities (denoising, normalizing, resizing) and advanced visualization tools (3D mesh plots, persistence diagrams, preprocessing pipelines) to help users understand and analyze their data effectively.


Support

Yes! This library is entirely free but it runs on coffee. Your ❤️ is important to keep maintaining this package. You can support in various ways, have a look at the sponsor page.


Installation

pip install findpeaks

Content

Background

Indices and tables