Related Experiment Video
Updated: Jun 14, 2025

Multimodal Analytical Platform on a Multiplexed Surface Plasmon Resonance Imaging Chip for the Analysis of Extracellular Vesicle Subsets
Published on: March 17, 2023
PyFasma: an open-source, modular Python package for preprocessing and multivariate analysis of Raman spectroscopy
Eleftherios Pavlou1, Nikolaos Kourkoumelis1
1Department of Medical Physics, Faculty of Medicine, University of Ioannina, 45110 Ioannina, Greece. nkourkou@uoi.gr.
None:
Raman spectroscopy is a versatile, label-free technique for probing molecular composition in biological samples. However, the detection of subtle biochemical traits in high-throughput spectral datasets requires careful preprocessing, dimensionality reduction, and statistically sound analytical strategies. We present PyFasma, an open-source Python package for Raman spectroscopy, integrating essential preprocessing tools (e.g., spike removal, smoothing, baseline correction, normalization), multivariate techniques (PCA, PLS-DA), and spectral deconvolution within a modular, Jupyter Notebook-friendly framework. In addition to describing the software, we demonstrate PyFasma's capabilities through a practical biomedical case study comparing Raman spectra from healthy and osteoporotic cortical bone samples. The results revealed statistically significant differences in mineral-to-matrix ratio and crystallinity between assigned groups, with PCA and PLS-DA successfully distinguishing pathological from normal bone spectra. PyFasma encourages best practices in model validation, including the powerful but often overlooked, repeated stratified cross-validation, enhancing the generalizability of multivariate analyses. It also offers an easy-to-use, extensible solution for Raman data analysis, enabling the reproducible and robust interpretation of complex spectra of biological samples.
Related Concept Videos
Raman Spectroscopy Instrumentation: Overview
The monochromatic laser source, typically using visible or near-infrared radiation, generates a highly focused beam of light. This light interacts with the molecules of the sample, scattering some of the light. Liquid and gaseous samples are usually tested in ordinary glass capillaries, while solids can be analyzed as powders packed in capillaries or as potassium...
Raman Spectroscopy: Overview
However, a small fraction of the scattered light exhibits a frequency shift due to the exchange of energy between the incident photons and...

