Open Raman Processing Library
Project description
ORPL
ORPL (read orpel) is the Open Raman Processing Library. It provides tools for the processing of Raman spectrum including;
- System calibration (x-axis and system response)
- Cosmic Ray removal
- Baseline removal (autofluorescence)
- Spectrum analysis (peak finding, ...)
- Synthetic spectrum generation (for testing and benchmarking)
Installation
ORPL is hosted and distributed through the python package index (https://pypi.org/project/orplib/) and can be installed with pip.
pip install orplib
If you have a virtual environment configured, don't forget to first activate the environment.
You can verify the installation by doing a pip list
.
Baseline removal
BubbleFill
Bubblefill is a morphological processing algorithm designed for the removal of baselines in spectroscopic signal. It was created and optimized specifically to remove autofluorescence baselines in Raman spectra measured on biological samples.
The tuning parameter of Bubblefill is the size of the smallest bubble allowed to grow. In general, the smallest bubble width should be chosen to be larger than the widest Raman peak present in the signal. Otherwise, the baseline fit will grow inside the peaks and the output Raman signal will have under expressed peaks.
Note : Bubbles can become arbitrarily small if they are growing along the leftmost or rightmost edge of the signal.
Different smallest bubble widths can be specified for different regions of the spectrum. This enables nearly infinite tuninig of the algorithm and can be used to removed peaks that are known artifacts (for instance). In this example, the smallest bubble width for detector pixels 400 to 650 was set to 1 and to 100 for the rest of the x-axis.
How to cite this work
Guillaume Sheehy, Fabien Picot, Frédérick Dallaire, Katherine Ember, Tien Nguyen, Kevin Petrecca, Dominique Trudel, and Frédéric Leblond "Open-sourced Raman spectroscopy data processing package implementing a baseline removal algorithm validated from multiple datasets acquired in human tissue and biofluids," Journal of Biomedical Optics 28(2), 025002 (21 February 2023). https://doi.org/10.1117/1.JBO.28.2.025002
BibTex (.bib)
@article{10.1117/1.JBO.28.2.025002,
author = {Guillaume Sheehy and Fabien Picot and Fr{\'e}d{\'e}rick Dallaire and Katherine Ember and Tien Nguyen and Kevin Petrecca and Dominique Trudel and Fr{\'e}d{\'e}ric Leblond},
title = {{Open-sourced Raman spectroscopy data processing package implementing a baseline removal algorithm validated from multiple datasets acquired in human tissue and biofluids}},
volume = {28},
journal = {Journal of Biomedical Optics},
number = {2},
publisher = {SPIE},
pages = {025002},
keywords = {Raman spectroscopy, fluorescence, tissue optics, open-sourced software, machine learning, optics, Raman spectroscopy, Data processing, Bubbles, Equipment, Tissues, Biological samples, Raman scattering, Fluorescence, Aluminum, Spectroscopy},
year = {2023},
doi = {10.1117/1.JBO.28.2.025002},
URL = {https://doi.org/10.1117/1.JBO.28.2.025002}
}
EndNote (.enw)
%0 Journal Article
%A Sheehy, Guillaume
%A Picot, Fabien
%A Dallaire, Frédérick
%A Ember, Katherine
%A Nguyen, Tien
%A Petrecca, Kevin
%A Trudel, Dominique
%A Leblond, Frédéric
%T Open-sourced Raman spectroscopy data processing package implementing a baseline removal algorithm validated from multiple datasets acquired in human tissue and biofluids
%V 28
%J Journal of Biomedical Optics
%N 2
%P 025002
%D 2023
%U https://doi.org/10.1117/1.JBO.28.2.025002
%DOI 10.1117/1.JBO.28.2.025002
%I SPIE
Contributors
- Guillaume Sheehy | guillaume.sheehy@polymtl.ca
- Frédérick Dallaire
- Fabien Picot
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 orplib-0.2.0.tar.gz
.
File metadata
- Download URL: orplib-0.2.0.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1575834d804271f49bc7c45f66fc129ac3ffb413cca4b6d25d884245c6901aa |
|
MD5 | 8ad532633ea29d30b23dd9ae2166fb92 |
|
BLAKE2b-256 | 99deea530cee902782d2cc162030a2e29a56a6f99a49fe0d2c4f53e498bba13c |
File details
Details for the file orplib-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: orplib-0.2.0-py3-none-any.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da87ad484057bb09b01f7a4961b781740476cbb9883e2e05e08885cdd504fca2 |
|
MD5 | 216577a7600e84bedd2c384910832ee8 |
|
BLAKE2b-256 | 3e97eefa39f238ccad59430f9a5e7019d2d76bc6e266030b31f1784b8d19ada6 |