PyFasma Documentation¶
PyFasma is a free and open source Python package for preprocessing and analyzing Raman spectra. It offers a complete set of tools for:
Preprocessing Raman spectra
Deconvoluting complex Raman bands
Applying multivariate analysis, including Principal Components Analysis (PCA) and Partial Least Squares Discriminant Analysis (PLS-DA)
Generating publication-ready plots
The package depends on the following Python libraries:
PyFasma follows a modular structure with seven modules: helpers, fileio, numpyfuncs, dffuncs, plotting, modeling, and deconvolution. Each is tailored to support a specific step in a typical Raman spectroscopy workflow, as illustrated below.

The source code and issue tracker are hosted on GitLab:
PyFasma GitLab Repository