cfs-energy / radas

Simple Python module to calculate radiation curves from OpenADAS
MIT License
4 stars 3 forks source link

Test against Mavrin polynomial curves #1

Closed tbody-cfs closed 1 year ago

tbody-cfs commented 1 year ago

Adds tests to make sure that the Lz and mean charge curves match the Mavrin polynomial fits.

Fixes a bug which led to an underprediction in Lz at high temperatures.

tbody-cfs commented 1 year ago

Comparing results to Mavrin

Solid line is radas, dashed line is Mavrin. The legend gives the value of $n_e \tau$.

To make these plot, run poetry run radas/mavrin_reference/compare_against_mavrin.py

Argon Neon Oxygen Nitrogen Carbon Beryllium Lithium Helium