Fatal error: "entries are not monotonically increasing"

1 reply · 3K views · last reply
Basmah
Messages
1
Reaction score
0
I have encpuntered this error with the gamma spectra "entries are not monotonically increasing". Despite attempting the following solutions, the issue remains unresolved:
  • Rearranging Energies in ascending order.
  • Removed any duplicate energy values.
What may be causing this error? and how can I solve it?
 
Attachments
Welcome to PF @Basmah,

The SI card defaults to H, a histogram with monotonically increasing entries, which this input data very much isn't. That would make sense if this is a distribution being modeled. If this is a gamma spectrum then the table is probably a series of discrete energies and probabilities so the SI card should start with an L

So I suggest you go back to your original data before you tried to order it, use L and see if the spectrum (try a simple geometry, no materials, a tally with energy bins) is what you expect.