Skip to main content

A Python package to simplify and accelerate analysis of spectroscopy data

Project description

image image image image image codecov Downloads image image DOI

A Python package to simplify and accelerate analysis of spectroscopy data.

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

  1. Install this library using pip:

     pip install spectrapepper
    
  2. Install this library using conda-forge:

     conda install -c conda-forge spectrapepper
    
  3. Test it by plotting some data!:

     import spectrapepper as spep
     import matplotlib.pyplot as plt
    
     data = spep.load_spectras()
     for i in data[1:]:
         plt.plot(data[0], i)
     plt.xlabel('Raman shift ($cm^{-1}$)')
     plt.ylabel('Intensity (a.u.)')
     plt.show()
    
  4. Stay up-to-date by updating the library using:

     conda update spectrapepper
     pip update spectgrapepper
    

Credits

This package was created with Cookiecutter and the giswqs/pypackage project template.

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

spectrapepper-0.1.5.tar.gz (749.1 kB view details)

Uploaded Source

File details

Details for the file spectrapepper-0.1.5.tar.gz.

File metadata

  • Download URL: spectrapepper-0.1.5.tar.gz
  • Upload date:
  • Size: 749.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for spectrapepper-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9772a6809b35204b41dbfca923a09e1f99513f765c414cbca7f3183cb56a5be0
MD5 03a6b4b6856bf76358869f8bacb99b8d
BLAKE2b-256 c121d2e83bdf5dd4ad3c5605607b886a6214e9000b8a8df1ac9d9f9633a9ad60

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page