A Python package to simplify and accelerate analysis of spectroscopy data
Project description
A Python package to simplify and accelerate analysis of spectroscopy data.
- GitHub repo: https://github.com/spectrapepper/spectrapepper
- Documentation: https://spectrapepper.github.io/spectrapepper
- PyPI: https://pypi.python.org/pypi/spectrapepper
- Conda-forge: https://anaconda.org/conda-forge/spectrapepper
- Free software: MIT license
Introduction
spectrapepper is a Python package that makes advanced analysis of spectroscopic data easy and accessible through straightforward, simple, and intuitive code. This library contains functions for every stage of spectroscopic methodologies, including data acquisition, pre-processing, processing, and analysis. In particular, advanced and high statistic methods are intended to facilitate, namely combinatorial analysis and machine learning, allowing also fast and automated traditional methods.
Features
The following is a short list of some main procedures that spectrapepper package enables.
- Baseline removal functions.
- Normalization methods.
- Noise filters, trimming tools, and despiking methods.
- Chemometric algorithms to find peaks, fit curves, and deconvolution of spectra.
- Combinatorial analysis tools, such as Spearman, Pearson, and n-dimensional correlation coefficients.
- Tools for Machine Learning applications, such as data merging, randomization, and decision boundaries.
- Sample data and examples.
Quickstart
-
Install this library using
pip
:pip install spectrapepper
-
Install this library using
conda-forge
:conda install -c conda-forge spectrapepper
-
Test it by plotting some data:
import spectrapepper as spep import matplotlib.pyplot as plt x, y = spep.load_spectras() for i in y: plt.plot(x, i) plt.xlabel('Raman shift ($cm^{-1}$)') plt.ylabel('Intensity (a.u.)') plt.show()
-
If you find this library useful, please consider a reference or citation as:
Grau-Luque et al., (2021). spectrapepper: A Python toolbox for advanced analysis of spectroscopic data for materials and devices. Journal of Open Source Software, 6(67), 3781, https://doi.org/10.21105/joss.03781
-
Stay up-to-date by updating the library using:
conda update spectrapepper pip install --update spectrapepper
-
If you encounter problems when updating, try uninstalling and then re-installing::
pip uninstall spectrapepper conda remove spectrapepper
Credits
This package was created with Cookiecutter and the giswqs/pypackage project template.
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
File details
Details for the file spectrapepper-0.1.9.tar.gz
.
File metadata
- Download URL: spectrapepper-0.1.9.tar.gz
- Upload date:
- Size: 753.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7763bcf5f1e3865bbe7197c5e123e7cbfc899cda3429bc4f4aa48758e5382b0b |
|
MD5 | 139e2d9865491dfd4a1bd1c9a87f2e1f |
|
BLAKE2b-256 | 1fe73b0b94f104f1a3ec68b7741f6cfe13e3a91d50301fe1a80db0c1b189cf38 |
File details
Details for the file spectrapepper-0.1.9-py2.py3-none-any.whl
.
File metadata
- Download URL: spectrapepper-0.1.9-py2.py3-none-any.whl
- Upload date:
- Size: 754.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cae7a1e9f62fccf630dc188715f95b30ebabcf53cdcd177abbe1420df419969 |
|
MD5 | ac5ebb2dc46cb8fbdb41fbd55d3e867e |
|
BLAKE2b-256 | 6a87cbc7aba8d216cf9f3ac89b396ed70a0b90d625f0c10d56de9b78d5b9783a |