A collection of algorithms for fitting the baseline of experimental data.
Project description
pybaselines is a collection of baseline algorithms for fitting experimental data.
For Python 3.6+
Open Source: BSD 3-Clause License
Source Code: https://github.com/derb12/pybaselines
Documentation: https://pybaselines.readthedocs.io.
Introduction
pybaselines provides different techniques for fitting baselines to experimental data.
Baseline fitting techniques are grouped accordingly (note: when a method is labelled as ‘improved’, that is the method’s name, not editorialization):
Penalized least squares (pybaselines.penalized_least_squares)
asls (Asymmetric Least Squares)
iasls (Improved Asymmetric Least Squares)
airpls (Adaptive iteratively reweighted penalized least squares)
arpls (Asymmetrically reweighted penalized least squares)
drpls (Doubly reweighted penalized least squares)
iarpls (Improved Asymmetrically reweighted penalized least squares)
aspls (Adaptive smoothness penalized least squares)
Morphological (pybaselines.morphological)
mpls (Morphological Penalized Least Squares)
mor (Morphological)
imor (Improved Morphological)
iamor (Iterative averaging morphological)
Polynomial (pybaselines.polynomial)
poly (regular polynomial)
modpoly (Modified Polynomial)
imodpoly (Improved Modified Polynomial)
Window-based (pybaselines.window)
noise_median (Noise Median method)
snip (Statistics-sensitive Non-linear Iterative Peak-clipping)
Installation
Dependencies
pybaselines requires Python version 3.6 or later and the following libraries:
All of the required libraries should be automatically installed when installing pybaselines using either of the two installation methods below.
Stable Release
pybaselines is easily installed using pip, simply by running the following command in your terminal:
pip install --upgrade pybaselines
This is the preferred method to install pybaselines, as it will always install the most recent stable release.
Development Version
The sources for pybaselines can be downloaded from the Github repo.
The public repository can be cloned using:
git clone https://github.com/derb12/pybaselines.git
Once the repository is downloaded, it can be installed with:
cd pybaselines
python setup.py install
Usage
To be added…
Contributing
Contributions are welcomed and greatly appreciated. For information on submitting bug reports, pull requests, or general feedback, please refer to the contributing guide.
Changelog
Refer to the changelog for information on pybaselines’s changes.
License
pybaselines is open source and freely available under the BSD 3-clause license. For more information, refer to the license.
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
Hashes for pybaselines-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a4f3e043e21820e8b23e657776914c9e829b8dd17465f9f9af0a683e1ae1a58 |
|
MD5 | 25fcfc96eb529db32f6591251b7109b8 |
|
BLAKE2b-256 | e17a6c9792d0dea282c71d3d032129ba18a9af6808a9167df831c6bf56ee604b |