CORE-GATECH-GROUP / serpent-tools

A suite of parsers designed to make interacting with SERPENT output files simple and flawless
http://serpent-tools.readthedocs.io/en/latest/
MIT License
52 stars 33 forks source link

API Support spectrumPlot(..., by=None|"max") #457

Closed drewejohnson closed 2 years ago

drewejohnson commented 3 years ago

Default is "max" which will scale tallied data by the max value in each column (plotted data). Passing by=None will not perform any additional modifications. Neither options changes the division by lethargy.

Closes #455

Created a picture like

https://github.com/drewejohnson/serpent-tools/blob/63e2d5260371642f60da05c8b57af1a6f534e2d7/tests/plots/result_images/testSpectrumJustNormPerLethargy.png

Labeling as a draft for some more use testing

Other minor style changes and tweaks along the way

drewejohnson commented 2 years ago

@DanKotlyar can you merge this?