est.tests.test_spectra#

Test the spectrum class

Functions

test_from_dat(spectrum_cu_from_pymca)

check that we can create a Spectrum from a pymca .dat file

test_from_mock()

check that we can create a Spectrum from numpy arrays