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.dev1.tar.gz (62.6 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.dev1-py3-none-any.whl (63.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: peak_finder_notebook-1.1.0.dev1.tar.gz
  • Upload date:
  • Size: 62.6 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.dev1.tar.gz
Algorithm Hash digest
SHA256 237a64aa19b335f460b43fff6d4bf32955571dbb03754f5e2957c59d7a4f2fce
MD5 6c1a7e7816455e08b3751c7bb0ba8e1a
BLAKE2b-256 c349e52b3f64686e8052384ff7c53cab0d4f81c35287fc20cbb32ca602fdb10f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: peak_finder_notebook-1.1.0.dev1-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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 635e5a041c78e7d94071d59b5ef1ba110387c02cdd423d82b660f1f03787e55b
MD5 2264797167ef91d3bd18cd554f4166b1
BLAKE2b-256 029ed14dfc0f739284f8b671f55294cb48aae6c85edaaa6443835b9d0c78a08b

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