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

BUG Support more values like psepc on xsplot reader #456

Closed drewejohnson closed 3 years ago

drewejohnson commented 3 years ago

xsplot objects now have a misc dictionary that contains data we don't store directly on attributes. The primary use for this is reading photon line spectrum, pspec entries from xsplot files. These fields can be controlled by the _misc "private" attribute on the xsplotreader if more rapid turnaround is needed by users.

Tests have been added to demonstrate that the reader is reading these data and that a warning is raised for unidentified fields.

Closes #454