Compress Energy Spectrum
Use the RPS > Utilities > Compress Energy Spectrum option (geogxnet.dll(Geosoft.GX.Radiometrics.CompressArray;Run)*) to reduce the size of a radiometric energy spectrum by summing consecutive array elements into larger energy bins. This produces a compact spectrum, yielding a smoother result while preserving key spectral characteristics. The resulting output channel contains the compressed spectrum, with the cosmic count element retained at the end when applicable.
To rerun the process with previous settings, select the header cell of any channel generated by this operation, then right-click to open the context menu. The last item in the menu is the most recently executed process (GX). Select it to reopen the associated dialog. From there, you can rerun the process using the existing settings, adjust parameters before execution, or simply close the dialog. Learn more about Dynamic Process Links (Makers).
Compress Energy Spectrum dialog options
Application Notes
How Compression Works
The tool reduces the number of elements in a radiometric energy spectrum by summing groups of n consecutive elements, where n is the selected compression factor. This produces a shorter array with fewer, broader energy bins and applies a simple smoothing effect. If the input array has defined energy increments, those increments are automatically scaled by the compression factor.
-
All spectrum elements between the first and last (excluding any cosmic count element) are grouped into blocks of n.
-
Each block is summed to create a single value in the output array.
-
The resulting compressed spectrum contains fewer bins and exhibits reduced noise.
Handling the Cosmic Count
If Last element cosmic count = "Yes":
-
The final element of the input array (the cosmic count) is not included in any summation.
-
It is copied unchanged to the end of the output array. Because of this, the preceding (n−1) bins—where n is the compression factor—are dropped. These bins typically contain minimal or no counts and generally do not affect subsequent RPS processing.
ExampleFor an input array of 1024 elements and a compression factor of 4, the output array normally contains 256 elements.
Under standard compression, groups of four input bins are summed:
-
input bins 0+1+2+3 → output bin 0
-
input bins 4+5+6+7 → output bin 1
-
…
-
input bins 1020+1021+1022+1023 → output bin 255
However, when Last element cosmic count = “Yes”:
-
input bin 1023 (cosmic count) is copied directly → output bin 255
-
input bins 1020, 1021, and 1022 are ignored and not included in any summation
-
Scaling Energy Increments
If the input array has defined energy increments:
-
The increment values are scaled by the compression factor.
Example
If the original energy increment is 3 keV and the compression factor is 2, the new increment becomes 6 keV.
When Compression Is Useful
Compression is particularly helpful when:
-
The original spectrum contains a large number of channels (e.g., 2048 or 4096), and you want to reduce noise or file size before further RPS processing.
-
A compressed spectrum is preferred for downstream tools such as Generate Radioelement Counts.
Choosing a Compression Factor
-
Lower values (2, 4): Preserve more spectral detail.
-
Higher values (8, 16): Provide a smoother outcome but reduce spectral resolution.
Got a question? Visit the Seequent forums or Seequent support
Copyright (c) 2026 Bentley Systems, Incorporated. All rights reserved.
Privacy | Terms of Use
