Examples

The repository includes an example spectrum at:

examples/example_spectra.txt

You can also download the bundled input spectrum directly:

Download example_spectra.txt

Run the example script from the project root:

python examples/run_example.py

The script writes:

examples/example_components.csv
examples/example_fit.png

The example output plot is shown below as a reference for a successful fit:

Diagnostic Gaussian fit for the bundled example spectrum

The fitted component table is written by the example script to:

examples/example_components.csv