Fatal error: "entries are not monotonically increasing"

  • Thread starter Thread starter Basmah
  • Start date Start date
  • Tags Tags
    Mcnp Mcnp5 Mcnp6
Click For Summary
SUMMARY

The error "entries are not monotonically increasing" occurs when using the SI card set to H for gamma spectra data that does not conform to this requirement. The discussion highlights that the SI card should be set to L for gamma spectra, which consists of discrete energies and probabilities. Users are advised to revert to the original data before any reordering and to ensure the correct SI card setting is applied to visualize the spectrum accurately.

PREREQUISITES
  • Understanding of gamma spectra data and its characteristics.
  • Familiarity with the SI card settings in simulation tools.
  • Knowledge of data ordering and its implications in histogram generation.
  • Basic skills in data visualization techniques for energy distributions.
NEXT STEPS
  • Review the correct application of SI card settings in gamma spectroscopy.
  • Learn about data preprocessing techniques for gamma spectra, including handling duplicates.
  • Explore methods for visualizing energy distributions using simple geometries.
  • Investigate the implications of histogram settings on data interpretation in simulations.
USEFUL FOR

This discussion is beneficial for physicists, data analysts, and researchers working with gamma spectroscopy, as well as anyone troubleshooting data visualization issues in simulation environments.

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

Engineering 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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 20 ·
Replies
20
Views
19K
  • · Replies 8 ·
Replies
8
Views
963
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 19 ·
Replies
19
Views
5K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K