radis.test.lbl.test_spec module

Examples

Run all tests:

>>> pytest       (in command line, in project folder)

Run only fast tests

>>> pytest -m fast
test_medium(plot=False, verbose=True, debug=False, warnings=True, *args, **kwargs)[source]

Test effect of propagating medium

test_plot_wunit_nm_medium_consistency(verbose=True, *args, **kwargs)[source]

Test that plot(wunit=’nm’) respects the medium from calculation and that get_wavenumber_range accepts ‘nm_vac’/’nm_air’.

Regression test for https://github.com/radis/radis/issues/707

test_populations(verbose=True, *args, **kwargs)[source]

Test that vib and rovib populations are calculated correctly

test_rescaling_mole_fraction(debug=False, plot=False, verbose=True, warnings=True, *args, **kwargs)[source]

Test rescaling functions

test_rescaling_path_length(debug=False, plot=False, verbose=True, warnings=True, *args, **kwargs)[source]

Test rescaling functions