A method for adaptive analysis of energy spectrum parameters
Through the energy spectrum parameter adaptive analysis method, using peak point screening, scale space transformation and clustering technology, the problem of noise interference in traditional energy spectrum analysis is solved, and the automatic estimation and accurate positioning of energy peak parameters under strong noise are realized. Improved analysis efficiency and accuracy.
Patent Information
- Application Number
- CN202311572348.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-23
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-11-23
AI Technical Summary
Traditional energy spectrum analysis methods are difficult to accurately locate the energy spectrum characteristic peaks of elements when processing multi-element materials. They are interfered by noise, making the work difficult, time-consuming and low in accuracy.
The energy spectrum parameter adaptive analysis method is adopted to automatically estimate the energy peak parameters, overcome noise interference and Improve analysis efficiency and accuracy.
It achieves automatic estimation of energy peak parameters under strong noise background, adaptively determines the true spectral peak position, and improves the efficiency and accuracy of analysis.
Smart Images

Figure CN117556302B
Abstract
Description
Technical Field
[0001] The present invention relates to an energy spectrum parameter analysis technology, and in particular to an energy spectrum parameter adaptive analysis method. Background Art
[0002] When the elements in the material are excited, they will produce radioactive particles. Different types of radioactive particles have different energy levels. The energy characteristics of the radioactive particles are collected to obtain an energy spectrum, such as Figure 1 As shown in the figure, by analyzing the energy characteristics of particles, we can obtain information such as the type and content of elements in the material. This method is called energy spectrum analysis. There are often multiple elements in a material, and the different excited states of different elements produce multiple energy characteristics, which creates relatively large technical difficulties for energy spectrum analysis. How to filter out noise and false peaks from the energy spectrum, accurately locate the energy spectrum characteristic peaks of each element, and then correctly identify the elements is a research hotspot in the field of energy spectrum analysis.
[0003] Traditional energy spectrum analysis methods are usually based on energy spectrum feature lookup tables, and feature peaks are located and extracted manually or semi-automatically to estimate parameters. Manual positioning and analysis of spectrum peaks are subject to noise interference, and the work is difficult, time-consuming, and inaccurate. Therefore, an energy spectrum parameter adaptive analysis method is needed. Summary of the invention
[0004] The purpose of the present invention is to provide a method for adaptively analyzing energy spectrum parameters.
[0005] To achieve the above object, the present invention is implemented according to the following technical solutions:
[0006] The present invention comprises the following steps:
[0007] A. Find the peak point on the energy spectrum;
[0008] B. classifying the peak points based on the threshold value, and screening and retaining the peak points whose amplitude is more than 50% of the maximum amplitude;
[0009] C. Perform multiple spline interpolations on the peak points after screening to perform initial smoothing on the energy spectrum;
[0010] D. using a Gaussian kernel to perform scale space transformation on the smoothed energy spectrum to obtain scale space spectrum lines of the energy spectrum;
[0011] E. clustering the scale space spectrum lines using a K-means clustering method to obtain the positions of the effective scale space spectrum lines;
[0012] F determines the energy peak-to-peak position through the effective scale space spectrum line, and separates the spectrum peaks by using a window function;
[0013] G uses the least square method to fit the smoothed curve to obtain the spectrum peak parameters;
[0014] The calculation formula of the scale space transformation is:
[0015]
[0016] Among them, f(m) represents the value when the sequence number is m in the sequence, is the Gaussian kernel, n is the sequence number, t is the scale parameter, and g(n, t) represents the value when the sequence number is n and the scale is t in the sequence;
[0017] The formula for cutting the energy peak by the window function is as follows:
[0018] f α (k) = f(k)w α (τ) (2)
[0019] in, a and b are the two peak and valley positions, α is the spectrum peak number; f(k) is the energy spectrum sequence, indicating the number of particles at the kth energy level, k is the discrete energy level, w α (τ) is the window function, τ is the coordinate sequence number of the window function. The beneficial effects of the present invention are:
[0020] Based on scale space theory, the present invention proposes an adaptive energy peak positioning, separation and parameter estimation method, which can realize automatic estimation of energy peak parameters under strong noise background, overcome strong noise interference, adaptively determine the true spectrum peak position, and then analyze the spectrum peak characteristic parameters, thereby improving the efficiency and accuracy of the analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart of the energy spectrum parameter adaptive analysis method of the present invention;
[0022] Figure 2 It is the original energy spectrum schematic diagram of the energy spectrum parameter adaptive analysis method of the present invention;
[0023] Figure 3 It is a schematic diagram of peak points on the energy spectrum in the energy spectrum parameter adaptive analysis method of the present invention;
[0024] Figure 4 It is a schematic diagram of scale space expression of the spectrum in the energy spectrum parameter adaptive analysis method of the present invention;
[0025] Figure 5 It is a schematic diagram of the peak location segmentation effect in the energy spectrum parameter adaptive analysis method of the present invention; DETAILED DESCRIPTION
[0026] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. The illustrative embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0027] like Figure 1 As shown, the flowchart of the energy spectrum parameter adaptive analysis method of the present invention includes the following steps:
[0028] 1) In this embodiment, Figure 2 and Figure 3 As shown, firstly, the peak points on the original energy spectrum are located, and then the peak points are sorted by amplitude, and the first 70% of the peak points are retained. The peak points usually represent the existence of a certain substance or the reflection of a certain physical phenomenon.
[0029] 2) Based on the retained peak points, the spectrum is interpolated three times with spline to obtain a smooth spectrum. Peak points with amplitudes greater than 50% of the maximum amplitude are screened and retained, while those with smaller amplitudes are excluded. These points may be noise or other unimportant information. Spline interpolation generates a continuous curve through some discrete data points to further reduce the noise in the energy spectrum data.
[0030] 3) Perform scale space transformation on the smoothed spectrum according to the scale space expression:
[0031]
[0032] Among them, f(m) represents the value when the sequence number is m in the sequence, is the Gaussian kernel, n is the sequence number, t is the scale parameter, and g(n, t) represents the value when the sequence number is n and the scale is t in the sequence;
[0033] Scale space transformation is to observe data from different scales or resolutions. Gaussian kernel is used here to convolve the data to produce scale space spectrum. Through Gaussian kernel transformation, the local minimum point in the spectrum will form a series of curves of different lengths on the scale space plane, such as Figure 4 As shown in the figure, the local minimum point of the real spectrum peak has the longest average curve length, while the local minimum point of the false peak caused by noise has a shorter average curve length. Convolving the sequence with a Gaussian kernel of different t values (such as 1-20) is equivalent to blurring the sequence at different scales. The real peaks and valleys have relatively large convolution values at different scales, while noise and other interferences only have large convolution values at specific scales. Sum the convolution results at different scales, and the real peak and valley position values will be significantly larger. Plotting them on a plane graph, such as Figure 4 As shown, the ordinate is the energy level and the abscissa is the convolution accumulation value. It can be seen that the obviously longer line positions are the peaks and valleys of the energy spectrum.
[0034] 4) Use the K-MEANs clustering method to cluster the curve lengths. For example, two types of clustering are performed. The first type is the curve caused by noise, and the second type is the curve generated by the real spectrum peak. The position of the second type of curve is the peak-valley position of the spectrum peak. The peaks and valleys are the energy peaks. The results of the located spectrum peaks are as follows: Figure 5 As shown in Figure 1, K-means clustering is used to divide the data into K categories. In this step, the algorithm will find those spectra with similar shapes and scales in the scale space and classify them into one category.
[0035] 5) Based on the peak and valley positions, a window function is designed to cut the energy peak, as shown in formula (2):
[0036] The formula for cutting the energy peak by the window function is as follows:
[0037] f α (k) = f(k)w α (τ) (2)
[0038] in, a and b are the two peak and valley positions, α is the spectrum peak number; f(k) is the energy spectrum sequence, indicating the number of particles at the kth energy level, k is the discrete energy level, w α (τ) is the window function, and τ is the coordinate sequence number of the window function.
[0039] like Figure 5 The figure shows the effect of peak location segmentation. The window function can be selected in different shapes and sizes, such as rectangular window, Hanning window, Harman window, etc. According to the size and shape of the window function, the range of cutting can be determined. The cutting range is usually centered on the peak and valley position, and the left and right sides are extended according to the size of the window function to cut the energy peak: apply the window function to the energy peak, keep the part within the window function, and set the rest to zero or background value. In this way, the energy after cutting can be obtained. If the cutting effect is not ideal, the size, shape, position and other parameters of the window function can be adjusted.
[0040] 6) For the separated f n (m) Signal spectrum peaks are fitted with a lookup table to determine the element type and other radiation parameters. The least squares method is used to fit the spectrum peaks separated by the window function to obtain the parameters of each spectrum peak. The Gaussian distribution model or the Lorentz distribution model is used for least squares fitting.
[0041] The technical solution of the present invention is not limited to the above-mentioned specific embodiments. All technical variations made according to the technical solution of the present invention fall within the protection scope of the present invention.
Claims
1. A method for adaptively analyzing energy spectrum parameters, characterized in that: The steps include: A. Find the peak point on the energy spectrum; B. classifying the peak points based on the threshold value, and screening and retaining the peak points whose amplitude is more than 50% of the maximum amplitude; C. Perform multiple spline interpolations on the peak points after screening to perform initial smoothing on the energy spectrum; D. using a Gaussian kernel to perform scale space transformation on the smoothed energy spectrum to obtain scale space spectrum lines of the energy spectrum; E. clustering the scale space spectrum lines using a K-means clustering method to obtain the positions of the effective scale space spectrum lines; F determines the energy peak-to-peak position through the effective scale space spectrum line, and separates the spectrum peaks by using a window function; G uses the least square method to fit the smoothed curve to obtain the spectrum peak parameters; The calculation formula of the scale space transformation is: Among them, f(m) represents the value when the sequence number is m in the sequence, is the Gaussian kernel, n is the sequence number, t is the scale parameter, and g(n, t) represents the value when the sequence number is n and the scale is t in the sequence; The formula for cutting the energy peak by the window function is as follows: f α (k)=f(k)w α (t) (2) in, a and b are the two peak and valley positions, α is the spectrum peak number; f(k) is the energy spectrum sequence, indicating the number of particles at the kth energy level, k is the discrete energy level, w α (τ) is the window function, and τ is the coordinate sequence number of the window function.
Citation Information
Patent Citations
Nuclide energy spectrum peak searching method
CN103913765A
Carbon-oxygen ratio logging energy spectrum data spectrum peak drift correction method
CN114782477A
Support vector machine-based method for analysis of spectral data
US20100205124A1
Inverse Matrix Iterative Deconvolution Method for Spectral Resolution Enhancement
US20200388013A1
