Note
Go to the end to download the full example code.
Loading RAMAN experimental file#
Here we load experimental LABSPEC spectra and plot them.
import spectrochempy as scp
Read and plot a single file#
A = scp.read_labspec("ramandata/labspec/Activation.txt")
A

Explore with different plot types#
As a 2D dataset, we can display it as an image:

or a contour plot:

Read and merge multiple files#
B = scp.read_labspec("ramandata/labspec/subdir")
_ = B.plot()

Uncomment the following line to display all figures when running the script directly with Python.
# scp.show()
Total running time of the script: (0 minutes 2.401 seconds)