PeakPerformance is a Python toolbox for estimating peak areas from mass-spectrometry or HPLC datasets under uncertainty. It applies Bayesian inference using the PyMC library to parametric models of peak curves.
PeakPerformance employs Bayesian modeling for chromatographic peak data fitting. This has the innate advantage of providing uncertainty quantification while jointly estimating all peak parameters united in a single peak model. As Markov Chain Monte Carlo (MCMC) methods are utilized to infer the posterior probability distribution, convergence checks and the aformentioned uncertainty quantification are applied as novel quality metrics for a robust peak recognition.
It is highly recommended to follow the following steps and install PeakPerformance
in a fresh Python environment:
⚠ If you have already installed Miniconda, you can install Mamba on top of it but there are compatibility issues with Anaconda.
ℹ The newest conda version should also work, just replace mamba
with conda
in step 2.
environment.yml
file from the repo.
Download environment.yml
first, then navigate to its location on the command line interface and run the following command:mamba env create -f environment.yml
Naturally, it is alternatively possible to just install PeakPerformance
via pip:
pip install peak-performance
Be sure to check out our thorough documentation. It contains not only information on how to install PeakPerformance and prepare raw data for its application but also detailed treatises about the implemented model structures, validation with both synthetic and experimental data against a commercially available vendor software, exemplary usage of diagnostic plots and investigation of various effects. Furthermore, you will find example notebooks and data sets showcasing different aspects of PeakPerformance.
If you encounter bugs while using PeakPerformance, please bring them to our attention by opening an issue. When doing so, describe the problem in detail and add screenshots/code snippets and whatever other helpful material you can provide. When contributing code, create a local clone of PeakPerformance, create a new branch, and open a pull request (PR).
Head over to Zenodo to generate a BibTeX citation for the latest release. A publication has just been submitted to a scientific journal. Once published, this section will be updated.