njoy / ENDFtk

Toolkit for reading and interacting with ENDF-6 formatted files
Other
33 stars 5 forks source link

Fix/mf32mt151 njsx #206

Closed whaeck closed 1 month ago

whaeck commented 2 months ago

The NJSX value (the number of spin groups) is now read from the CONT record before the particle pairs in MF32 R-matrix limited uncertainties since SAMMY does not print the NJSX value on the particle pairs. The ENDF format bascially has the NJSX value appear in two places (on a CONT record before the particle pairs and on the particle pairs themselves) and ENDFtk used the second one while SAMMY only prints out the first one.

This "breaks" some interface functions (the R-matrix limited uncertainties from_string() function now requires the number of spin groups while previously it did not).