Fatal error: "entries are not monotonically increasing"

  • Thread starter Thread starter Basmah
  • Start date Start date
  • Tags Tags
    Mcnp Mcnp5 Mcnp6
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
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

Physics news on Phys.org
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.