Loading RAMAN experimental file

Here we load experimental LABSPEC spectra and plot them.

import spectrochempy as scp

define the folder where are the spectra

A = scp.read_labspec("Activation.txt", directory=ramandir)
A.plot()

A = scp.read_labspec("532nm-191216-Si_200mu.txt", directory=ramandir)
A.plot()

A = scp.read_labspec("serie190214-1.txt", directory=ramandir)
A.plot(colorbar=True)
A.plot_map(colorbar=True)

A = scp.read_labspec("SMC1-Initial_RT.txt", directory=ramandir)
_ = A.plot()
  • plot read raman from labspec
  • plot read raman from labspec
  • plot read raman from labspec
  • plot read raman from labspec
  • plot read raman from labspec

Open a dialog - note the presence of the keyword directory

this pack all spectra of the subdir directory (without dialog - look at the difference above)

B = scp.read_labspec(ramandir / "subdir")
_ = B.plot()

# scp.show()  # uncomment to show plot if needed (not necessary in jupyter notebook)
plot read raman from labspec

Total running time of the script: ( 0 minutes 6.282 seconds)

Gallery generated by Sphinx-Gallery