aidancrilly / NeSST

NeSST - Neutron Scattered Spectra Tool, ICF primary and scattered neutron spectroscopy analysis code
MIT License
3 stars 2 forks source link

changed units of DTprimspecmoments to eV #27

Closed shimwell closed 8 months ago

shimwell commented 8 months ago

This PR changes the DTprimspecmoments and DDprimspecmoments to accept arguments in units of eV and return units of eV.

This is super useful for openmc usage where everything is in eV.

Helps with issue #21

Also some extra tests have been added to check the variance is sized correctly and increases with Tion.

Also some doc strings and types have been added