radis.test.los.test_slabs module¶
Examples
Run all tests:
pytest # (in command line, in project folder)
Run only fast tests (i.e: tests that a âfastâ label):
pytest -m fast
- test_equilibrium_condition()[source]¶
See issue #370
âthermal_equilibriumâ is used to recompute some spectral arrays from others, it is important to make sure a line-of-sight doesnât assume thermal equilibrium wrongly
- test_merge_slabs(verbose=True, plot=False, close_plots=True, warnings=True, *args, **kwargs)[source]¶
Merge 10 slabs with 1/10 of concentration, and compare the results. Ensure error is < 0.1%
Note that we wonât have exactly the same results as the broadening is not updated in MergeSlabs