Skip to main content

Notebook to find peaks in your data.

Project description

Peak finder

You can use this notebook to find peaks in your data.

Getting everything set up

uv

If you downloaded or cloned this repository, simply run:

uv sync

To set up your virtual environment. You can also add the dependencies listed in pyproject.toml to an existing project's environment.

Run the notebook from Visual Studio Code by selecting the peak-finder .venv as the environment for the kernel or run Jupyter Lab with

uv run jupyter-lab peak-finder.ipynb

uvx

If you just have a copy of the notebook and want to run Jupyter Lab with the required dependencies but without installing anything run

uvx --from jupyterlab --with ipympl,matplotlib,numpy,pandas,scipy jupyter-lab peak-finder.ipynb

Conda (Anaconda or Miniconda)

To create a conda environment with Jupyter Lab and all dependencies, run:

$ conda env create -f environment.yml

Run Jupyter Lab with

$ conda activate peak-finder
$ jupyter lab peak-finder.ipynb

and load the notebook, or run the notebook from e.g. Visual Studio Code while selecting the peak-finder conda environment.

Running the notebook

At the bottom of the notebook you will find this line:

find_peaks("example-datafile.csv")

Change example-datafile.csv to point at your data file or just run the notebook with the example data. You should see something like this:

Screenshot of the peak finder widget

You can zoom into parts of your dataset and tweak the settings until you're satisfied with the detected peaks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

peak_finder_notebook-1.1.0.tar.gz (62.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

peak_finder_notebook-1.1.0-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

Details for the file peak_finder_notebook-1.1.0.tar.gz.

File metadata

  • Download URL: peak_finder_notebook-1.1.0.tar.gz
  • Upload date:
  • Size: 62.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for peak_finder_notebook-1.1.0.tar.gz
Algorithm Hash digest
SHA256 183ff3a503e744d8933672858411a378ff4014d69756929f447ad5900c22069e
MD5 4a40fcffdc1be2a3cd6e00d4de306207
BLAKE2b-256 5b274cd62afa385014977c3613e6e33b7cb35b8f49d06c519295c58046e601ef

See more details on using hashes here.

File details

Details for the file peak_finder_notebook-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: peak_finder_notebook-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 63.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for peak_finder_notebook-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b54ea96748c80b986b4ecb5a48ffe91b057a155b862af429a7ab48b0db9e37c9
MD5 e267c0740377a9e4be29fd71354688fb
BLAKE2b-256 4c5633d4be3260ba92ab94e5c6a2705424018090531d55c303258b72dc90410c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page