radis.test.spectrum.test_spectrum_io moduleΒΆ

Test spectrum creation / export

test_reading_from_Matlab(verbose=True, plot=False, *args, **kwargs)[source]ΒΆ

Test creating a Spectrum from a Matlab file with from_mat()

test_specutils_io(verbose=True, plot=False, *args, **kwargs)[source]ΒΆ

Test Radis/specutils interface in particular when dealing with wavelengths

see https://github.com/radis/radis/pull/499

test_xsc_io(plot=False, *args, **kwargs)[source]ΒΆ

Test Spectrum created from manually downloaded hitran cross section