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:
You can zoom into parts of your dataset and tweak the settings until you're satisfied with the detected peaks.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file peak_finder_notebook-1.0.0.tar.gz.
File metadata
- Download URL: peak_finder_notebook-1.0.0.tar.gz
- Upload date:
- Size: 62.4 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca967791df84863baf7a7018af6d0d07843cbee159f1a1ff0a76fee9b41b6517
|
|
| MD5 |
abd1c41e764ddfb28ee15a10b0fa585d
|
|
| BLAKE2b-256 |
40cec793b42609ef9cc612bb7091f6c9c41bd5f7e164c6d5615c04e6f50db8c6
|
File details
Details for the file peak_finder_notebook-1.0.0-py3-none-any.whl.
File metadata
- Download URL: peak_finder_notebook-1.0.0-py3-none-any.whl
- Upload date:
- Size: 63.3 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e20006c99caf207dba29f858d7892c81b88025ada1b4c9d9de2f61a0cd09d9ba
|
|
| MD5 |
274ff4e272ab8e20664f21710ee24e4c
|
|
| BLAKE2b-256 |
e1782e3f9a647168196974bb474eb96725de842a6f8246b4db9226ac33f06ef3
|