fusion-energy / openmc-plasma-source

Creates a plasma source as an openmc.source object from input parameters that describe the plasma
MIT License
28 stars 11 forks source link

Improved energy distributions including DD, TT and DT reactions #95

Open shimwell opened 2 months ago

shimwell commented 2 months ago

building on pr #89 this pr adds a more realistic energy distribution including energy distributions for neutrons from DD, TT and DT neutrons.

Also refactored the code to remove plotting from the package but still allow plotting and making plotting easy. three examples have been added to show how the previously plotting features can now be called externally giving the user greater control over the plot formatting and allowing all the same values to be plotted.