Energy spectrum data processing method, device, electronic device and storage medium
By determining the window positioning index of the first and second-class marked energy spectrum areas in the energy spectrum analysis, and automatically positioning the counting window of the liquid scintillation counter, the problem of difficulty in accurately positioning the counting window during the measurement of the liquid scintillation counter is solved, and the calculation efficiency and practicality are improved.
Patent Information
- Application Number
- CN202210696979.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-20
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2042-06-20
AI Technical Summary
In the existing energy spectrum analysis, it is difficult to accurately locate the counting window when measuring the liquid scintillation counter, especially for the continuous spectrum β rays, which leads to the energy spectrum deformation and cannot effectively position the counting window automatically. The existing methods are inefficient and poor in practicality.
By obtaining the first window positioning index corresponding to each channel address of the energy spectrum to be processed, a first-class marking energy spectrum area is determined, and on this basis, the second-class marking energy spectrum area is further determined, and the target counting window is automatically positioned using the second-display index.
Automatic positioning of the energy spectrum counting window is realized, reducing time complexity, and improving computing efficiency and practicality.
Smart Images

Figure CN115097512B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of energy spectrum measurement technology, and in particular to an energy spectrum data processing method, device, electronic equipment and storage medium. Background Art
[0002] Among nuclear and nuclear radiation measuring instruments, gamma spectrometers, alpha spectrometers and liquid scintillation counters are common energy spectrum measuring instruments. The radioactive energy spectra they measure are generally expressed as a series of data corresponding to channel addresses and counts.
[0003] For a specific radioactive isotope, the counts it contributes to the energy spectrum are generally concentrated in the corresponding channel address area. During energy spectrum analysis, only the counts in this area are considered to avoid interference from the background outside the area and the counts contributed by other isotopes. This area is called the counting window.
[0004] Currently, there's no effective method for automatically locating the counting window for energy spectra measured by liquid scintillation counters. This is primarily because liquid scintillation counters are often used to measure beta rays with a continuous energy spectrum, and they often experience quenching, which causes varying degrees of distortion and shift in the energy spectrum. The measured energy spectrum typically lacks a sharp normal distribution and can even be relatively flat, making it difficult to apply existing automatic peak-finding techniques. Targeting the counting window by traversing all possible counting windows and comparing their Figure of Merit (FOM) values is a method that is inefficient and impractical. Summary of the Invention
[0005] The present invention provides a method, device, electronic device and storage medium for processing energy spectrum data to solve the problem that the counting window of the energy spectrum is difficult to accurately locate, realize the automatic positioning of the counting window of the energy spectrum, and reduce the technical effect of time complexity.
[0006] According to one aspect of the present invention, a method for processing energy spectrum data is provided, comprising:
[0007] Acquire an energy spectrum to be processed, and determine a first window positioning index corresponding to each channel address of the energy spectrum to be processed;
[0008] Determining at least one type-one marked energy spectrum region according to the first window positioning index corresponding to each channel address;
[0009] For each of the first-class marker energy spectrum regions, determining at least one second-class marker energy spectrum region corresponding to the first-class marker energy spectrum region;
[0010] The second window positioning index of each of the second-class marked energy spectrum regions is determined respectively, and the target counting window of the energy spectrum to be processed is determined according to each of the second window positioning indexes.
[0011] According to another aspect of the present invention, there is provided an energy spectrum data processing device, characterized by comprising:
[0012] A first window positioning index determination module is used to obtain an energy spectrum to be processed and determine a first window positioning index corresponding to each channel address of the energy spectrum to be processed;
[0013] A first-class marker energy spectrum region determination module, configured to determine at least one first-class marker energy spectrum region according to a first window positioning index corresponding to each channel address;
[0014] A second-class marker energy spectrum region determination module is configured to determine, for each of the first-class marker energy spectrum regions, at least one second-class marker energy spectrum region corresponding to the first-class marker energy spectrum region;
[0015] The target counting window determination module is used to respectively determine the second window positioning index of each of the second-class marked energy spectrum regions, and determine the target counting window of the energy spectrum to be processed according to each of the second window positioning indexes.
[0016] According to another aspect of the present invention, an electronic device is provided, comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor so that the at least one processor can execute the energy spectrum data processing method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the energy spectrum data processing method according to any embodiment of the present invention when executed.
[0021] The technical solution of the embodiment of the present invention obtains the energy spectrum to be processed, determines the first window positioning index corresponding to each channel address of the energy spectrum to be processed, determines at least one type-one marked energy spectrum area according to the first window positioning index corresponding to each channel address, so as to preliminarily divide the energy spectrum to be processed, and for each type-one marked energy spectrum area, determines at least one type-two marked energy spectrum area corresponding to the type-one marked energy spectrum area, processes on the basis of the type-one marked energy spectrum area, determines the second window positioning index of each type-two marked energy spectrum area respectively, and determines the target counting window of the energy spectrum to be processed according to each second window positioning index, thereby solving the problems of low computational efficiency and poor practicality in determining the counting window, realizing automatic positioning of the counting window of the energy spectrum, reducing time complexity, and improving practicality.
[0022] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A schematic flow chart of a method for processing energy spectrum data provided in the first embodiment of the present invention;
[0025] Figure 2 A schematic flow chart of a method for processing energy spectrum data provided in the second embodiment of the present invention;
[0026] Figure 3 A schematic diagram of a process for determining a second-class marker energy spectrum region provided in the second embodiment of the present invention;
[0027] Figure 4 A schematic diagram of energy spectrum data to be processed provided in the third embodiment of the present invention;
[0028] Figure 5 A schematic structural diagram of an energy spectrum data processing device provided in a fourth embodiment of the present invention;
[0029] Figure 6 This is a structural diagram of an electronic device provided in Example 5 of the present invention. DETAILED DESCRIPTION
[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0031] It should be noted that the terms "class one", "class two", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or are inherent to these processes, methods, products or devices.
[0032] Example 1
[0033] Figure 1 This is a flow chart of a spectrum data processing method provided by the first embodiment of the present invention. This embodiment is applicable to the automatic positioning of the counting window of the spectrum. The method can be executed by a spectrum data processing device. The device can be implemented in the form of hardware and / or software. The device can be configured in an electronic device, such as a PC, a server, etc. Figure 1 As shown, the method includes:
[0034] S110 , obtaining an energy spectrum to be processed, and determining a first window positioning index corresponding to each channel address of the energy spectrum to be processed.
[0035] The energy spectrum to be processed may be data measured by nuclear and nuclear radiation measuring instruments. The first window positioning index may be index data determined based on the energy spectrum data of each channel address or the energy spectrum data of each channel address and other data, and is used to measure the quality of each channel address for counting.
[0036] Specifically, a nuclear and nuclear radiation measurement instrument can acquire an energy spectrum to be processed, or a pre-measured and stored energy spectrum to be processed. Based on preset rules, the energy spectrum to be processed can be divided by channel address. Furthermore, for each channel address in the energy spectrum to be processed, a pre-set first window positioning index determination method can be used to determine the first window positioning index corresponding to the channel address, thereby determining the quality of the channel address for counting.
[0037] S120 : Determine at least one first-class marker energy spectrum region according to the first window positioning index corresponding to each channel address.
[0038] The first-class marked energy spectrum region may be a channel address or at least two consecutive channels where the first window positioning index satisfies a preset first-class condition. The preset first-class condition may be conditions for determining the first-class marked energy spectrum region, such as being better than a preset threshold, or having a preset number of first window positioning indexes ranked top in descending order.
[0039] Specifically, after determining the first window positioning index corresponding to each channel address, the first window positioning index that meets the preset conditions is determined based on these first window positioning indexes, and the channel addresses corresponding to these first window positioning indicators are used as a type of marked energy spectrum area, or combined as a type of marked energy spectrum area.
[0040] It should be noted that each channel address that meets the preset first-class conditions can be regarded as a first-class marked energy spectrum area, and the channels that meet the preset first-class conditions can be combined as a first-class marked energy spectrum area. The left and right boundaries of each first-class marked energy spectrum area can also be determined based on the channels that meet the preset first-class conditions, thereby determining each first-class marked energy spectrum area.
[0041] S130 : For each first-class marker energy spectrum region, determine at least one second-class marker energy spectrum region corresponding to the first-class marker energy spectrum region.
[0042] The second-class marked energy spectrum region may be an energy spectrum region determined according to a preset method based on the first-class marked energy spectrum region.
[0043] Specifically, each first-class marked energy spectrum area can be used as a second-class marked energy spectrum area, and a preset number of first-class marked energy spectrum areas that are ranked from best to worst by the first window positioning index can be used as second-class marked energy spectrum areas. The energy spectrum area can also be adjusted according to each first-class marked energy spectrum area, and the adjusted energy spectrum area can be used as the second-class marked energy spectrum area.
[0044] S140 , respectively determining a second window positioning index for each second-class marked energy spectrum region, and determining a target counting window for the energy spectrum to be processed according to each second window positioning index.
[0045] The second window positioning index may be index data determined based on the energy spectrum data of each second-class marker energy spectrum region, or based on the energy spectrum data of each second-class marker energy spectrum region and other data, and is used to measure the quality of each second-class marker energy spectrum region for counting. The target counting window may be the energy spectrum region subsequently used for counting determined based on each second window positioning index.
[0046] It should be noted that the second window positioning index and the first window positioning index may be determined in the same or different manner, that is, the first window positioning index and the second window positioning index corresponding to the same energy spectrum region may be the same or different.
[0047] Specifically, for each second-class marked energy spectrum region, a second window positioning index corresponding to the second-class marked energy spectrum region can be calculated. Furthermore, one or more optimal second window positioning indexes can be determined from the second window positioning indexes, and the second-class marked energy spectrum regions corresponding to these one or more second window positioning indexes can be used as target counting windows for the energy spectrum to be processed.
[0048] The technical solution of the embodiment of the present invention obtains the energy spectrum to be processed, determines the first window positioning index corresponding to each channel address of the energy spectrum to be processed, determines at least one type-one marked energy spectrum area according to the first window positioning index corresponding to each channel address, so as to preliminarily divide the energy spectrum to be processed, and for each type-one marked energy spectrum area, determines at least one type-two marked energy spectrum area corresponding to the type-one marked energy spectrum area, processes on the basis of the type-one marked energy spectrum area, determines the second window positioning index of each type-two marked energy spectrum area respectively, and determines the target counting window of the energy spectrum to be processed according to each second window positioning index, thereby solving the problems of low computational efficiency and poor practicality in determining the counting window, realizing automatic positioning of the counting window of the energy spectrum, reducing time complexity, and improving practicality.
[0049] Example 2
[0050] Figure 2 This is a flow chart of a method for processing energy spectrum data provided by the second embodiment of the present invention. This embodiment is based on the above embodiment. For the method of determining the energy spectrum area of the second type of marker, please refer to the technical solution of this embodiment. The explanations of the terms that are the same or corresponding to the above embodiments will not be repeated here. Figure 2 As shown, the method includes:
[0051] S210: Obtain an energy spectrum to be processed, and determine a first window positioning index corresponding to each channel address of the energy spectrum to be processed.
[0052] Based on the above embodiments, the first window positioning index corresponding to each channel address of the energy spectrum to be processed can be determined by any of the following methods:
[0053] Method 1: Determine the first window positioning index of each channel address based on the energy spectrum data of each channel address.
[0054] Specifically, for each channel address, the first window positioning index of the channel address can be calculated and determined based on the energy spectrum data of the channel address.
[0055] Optionally, the energy spectrum data includes at least one of sample count, background count, measurement time, channel address and energy.
[0056] Method 2: Determine the first window positioning index of each channel address based on the energy spectrum data of each channel address and the energy spectrum data of the energy spectrum to be processed.
[0057] Specifically, for each channel address, the first window positioning index of the channel address can be calculated and determined based on the energy spectrum data of the channel address and the energy spectrum data of the energy spectrum to be processed.
[0058] Method three: determine the first window positioning index of each channel address according to the energy spectrum data of each channel address and the measurement sample data corresponding to the energy spectrum to be processed.
[0059] The measured sample data is data related to the sample to be measured and is used to measure the sample to be measured.
[0060] Optionally, measuring sample data includes measuring at least one of sample activity, volume, and mass.
[0061] Specifically, for each channel address, the first window positioning index of the channel address can be calculated and determined based on the energy spectrum data of the channel address and the measurement sample data corresponding to the energy spectrum to be processed.
[0062] Optionally, the first window positioning index of each channel address can be determined according to the energy spectrum data of each channel address and the measurement sample data corresponding to the energy spectrum to be processed through the following steps:
[0063] Step 1: Calculate the initial window positioning index for each address using the following formula:
[0064]
[0065] Among them, K i is the initial window positioning index of channel address i, i is the channel address number, N i is the spectrum count of the sample corresponding to channel address i, B i is the background measurement spectrum count corresponding to channel address i, T s T is the sample spectrum measurement time, B is the background measurement spectrum measurement time.
[0066] Step 2: Calculate the first window positioning index of each channel address according to the following formula:
[0067]
[0068] Among them, I i is the first window positioning index of address i, and n is the preset number of addresses, which is a positive integer.
[0069] Method 4: Determine the first window positioning index of each channel address based on the energy spectrum data of each channel address and the measurement environment data corresponding to the energy spectrum to be processed.
[0070] Among them, the measurement environment data can be used to measure the environmental conditions when using nuclear and nuclear radiation measuring instruments for measurement.
[0071] Optionally, the measurement environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurement in the measurement environment.
[0072] Specifically, for each channel address, the first window positioning index of the channel address can be calculated and determined based on the energy spectrum data of the channel address and the measurement environment data corresponding to the energy spectrum to be processed.
[0073] Method 5: Determine the first window positioning index of each channel address based on the energy spectrum data of each channel address, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data.
[0074] Specifically, for each channel address, the first window positioning index of the channel address can be calculated and determined based on the energy spectrum data of the channel address, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data corresponding to the energy spectrum to be processed.
[0075] S220 : Determine at least one first-class marker energy spectrum region according to the first window positioning index corresponding to each channel address.
[0076] Based on the above embodiments, at least one type-one marked energy spectrum region may be determined according to the first window positioning index corresponding to each channel address by any of the following methods:
[0077] Method 1: Determine the channel address whose first window positioning index is better than a preset threshold as a type of marked energy spectrum area.
[0078] The energy spectrum region of a type of marker includes one channel address, or includes two or more consecutive channel addresses. The preset threshold value can be a pre-set value used to determine the energy spectrum region of a type of marker.
[0079] Specifically, the first window positioning index of each channel address may be compared with a preset threshold value. If the index is better than the preset threshold value, the channel address is regarded as a type of marked energy spectrum region.
[0080] For example, the first window positioning index of channel 1 is 0.2, the first window positioning index of channel 2 is 2.0, the first window positioning index of channel 3 is 2.2, the first window positioning index of channel 4 is 1.6, the first window positioning index of channel 5 is 1.4, the first window positioning index of channel 6 is 2.1, the first window positioning index of channel 7 is 1.4, and the first window positioning index of channel 8 is 2.2. The preset threshold is 1.8, then channels 2, 3, 6 and 8 whose first window positioning index is greater than 1.8 can be regarded as a type of marked energy spectrum area.
[0081] Method 2: The channel with the first window positioning index of each section better than the preset threshold is determined as a Class I marked energy spectrum area, and two or more Class I marked energy spectrum areas with the number of interval channel addresses less than the preset channel address threshold are merged into one Class I marked energy spectrum area.
[0082] The preset channel threshold value may be a value used to determine whether two adjacent first-class marker energy spectrum regions can be merged. The number of interval channel addresses may be the number of channel addresses between adjacent first-class marker energy spectrum regions.
[0083] Specifically, the first window positioning index of each channel address can be compared with a preset threshold. If it exceeds the preset threshold, the channel address is considered a Class I marker energy spectrum region. Furthermore, the number of channels between each two adjacent Class I marker energy spectrum regions is determined. If the number of channels is less than the preset channel address threshold, the two Class I marker energy spectrum regions can be merged into a single Class I marker energy spectrum region.
[0084] It should be noted that the method of merging the first-class marked energy spectrum areas can be that when the number of interval channels between two or more first-class marked energy spectrum areas is less than the preset channel threshold, the left boundary and the right boundary are determined based on these first-class marked energy spectrum areas, and all the channels between the left boundary and the right boundary are used as new first-class marked energy spectrum areas.
[0085] For example, if the first window positioning index of channel 1 is 0.2, the first window positioning index of channel 2 is 2.0, the first window positioning index of channel 3 is 2.2, the first window positioning index of channel 4 is 1.6, the first window positioning index of channel 5 is 1.4, the first window positioning index of channel 6 is 2.1, the first window positioning index of channel 7 is 1.4, and the first window positioning index of channel 8 is 2.2, the preset threshold is 1.8, and the preset channel threshold is 2, then channels 2, 3, 6, and 8 with first window positioning indexes greater than 1.8 can be first determined as a first-class marked energy spectrum region. Since the number of channels between channel 2 and channel 3 is less than 2, channels 2 and 3 are merged into a first-class marked energy spectrum region. Since the number of channels between channel 6 and channel 8 is less than 2, channels 6 to 8 are combined into a first-class marked energy spectrum region. Therefore, the first-class marked energy spectrum regions are channels 2-3 and channels 6-8.
[0086] S230 , for each first-class marked energy spectrum region, use the first-class marked energy spectrum region as a reference energy spectrum region, and move the boundary of the reference energy spectrum region in a preset moving manner to obtain a modified energy spectrum region.
[0087] The reference energy spectrum region may be the energy spectrum region to be subjected to boundary movement. The modified energy spectrum region may be the reference energy spectrum region after the boundary movement. The preset movement method may be a method in which the left boundary is moved leftward and / or rightward by a preset number of track addresses, and a method in which the right boundary is moved leftward and / or rightward by a preset number of track addresses.
[0088] It should be noted that the same method can be used to process each first-class marked energy spectrum region to determine the second-class marked energy spectrum region corresponding to each first-class marked energy spectrum region. The following takes any one of the first-class marked energy spectrum regions as an example for explanation.
[0089] Specifically, a type of marked energy spectrum region is used as a reference energy spectrum region, the left boundary and / or right boundary of the reference energy spectrum region is moved according to a preset moving method, and the energy spectrum region obtained after the movement is used as the corrected energy spectrum region.
[0090] Based on the above embodiments, the boundary of the reference energy spectrum region is moved, including at least one of the following four operations:
[0091] Operation 1: Move the left boundary of the reference energy spectrum area to the left by a first preset number of channels.
[0092] Among them, the first preset number can be the number of channels that the left boundary of the reference energy spectrum area moves to the left, for example, it can be 1 or 2, etc. The specific value can be set according to actual needs and is not specifically limited in this embodiment.
[0093] Exemplarily, the reference energy spectrum region is channel addresses 5-15, and the first preset number is 2. Then, after moving the left boundary of the reference energy spectrum region to the left by the first preset number of channel addresses, the channel addresses obtained are 3-15.
[0094] Operation 2: Move the left boundary of the reference energy spectrum area to the right by a second preset number of channels.
[0095] Among them, the second preset number can be the number of channels moved to the right from the left boundary of the reference energy spectrum area, for example, it can be 1 or 2, etc. The specific value can be set according to actual needs and is not specifically limited in this embodiment.
[0096] Exemplarily, the reference energy spectrum region is channel addresses 5-15, and the second preset number is 1. Then, after moving the left boundary of the reference energy spectrum region to the right by the second preset number of channel addresses, the channel addresses obtained are 6-15.
[0097] Operation 3: Move the right boundary of the reference energy spectrum area to the left by a third preset number of channels.
[0098] Among them, the third preset number can be the number of channels moved to the left by the right boundary of the reference energy spectrum area, for example, it can be 1 or 2, etc. The specific value can be set according to actual needs and is not specifically limited in this embodiment.
[0099] Exemplarily, the reference energy spectrum region is channel addresses 5-15, and the third preset number is 2. Then, after moving the right boundary of the reference energy spectrum region to the left by the third preset number of channel addresses, the channel address obtained is 5-13.
[0100] Operation 4: Move the right boundary of the reference energy spectrum region to the right by a fourth preset number of channels.
[0101] Among them, the fourth preset number can be the number of channels that the right boundary of the reference energy spectrum area moves to the right, for example, it can be 1 or 2, etc. The specific value can be set according to actual needs and is not specifically limited in this embodiment.
[0102] Exemplarily, the reference energy spectrum region is channel address 5-15, and the fourth preset number is 1. Then, after moving the right boundary of the reference energy spectrum region to the right by the fourth preset number of channel addresses, the channel address obtained is 5-16.
[0103] It should be noted that the operation method for the left boundary and the operation method for the right boundary can be arbitrarily combined. For example, operation one + operation three is to move the left boundary of the reference energy spectrum area to the left by the first preset number of channel addresses, and at the same time move the right boundary of the reference energy spectrum area to the left by the third preset number of channel addresses; operation one + operation four is to move the left boundary of the reference energy spectrum area to the left by the first preset number of channel addresses, and at the same time move the right boundary of the reference energy spectrum area to the right by the fourth preset number of channel addresses.
[0104] S240: Determine a second window positioning index for the reference energy spectrum region, and determine a second window positioning index for the corrected energy spectrum region.
[0105] Specifically, for the reference energy spectrum region, a second window positioning index corresponding to the reference energy spectrum region may be calculated. For the modified energy spectrum region, a second window positioning index corresponding to the modified energy spectrum region may be calculated.
[0106] Based on the above embodiments, the second window positioning index of the reference energy spectrum region may be determined by any of the following methods:
[0107] Method 1: Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region.
[0108] Specifically, for each reference energy spectrum region, the second window positioning index of the reference energy spectrum region may be calculated and determined based on the energy spectrum data of the reference energy spectrum region.
[0109] Optionally, the energy spectrum data includes at least one of sample count, background count, measurement time, channel address and energy.
[0110] Method 2: Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the energy spectrum data of the energy spectrum to be processed.
[0111] Specifically, for each reference energy spectrum region, the second window positioning index of the reference energy spectrum region may be calculated and determined based on the energy spectrum data of the reference energy spectrum region and the energy spectrum data of the energy spectrum to be processed.
[0112] Method three: determining the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the measurement sample data corresponding to the energy spectrum to be processed.
[0113] The measured sample data is data related to the sample to be measured and is used to measure the sample to be measured.
[0114] Optionally, measuring sample data includes measuring at least one of sample activity, volume, and mass.
[0115] Specifically, for each reference energy spectrum region, the second window positioning index of the reference energy spectrum region may be calculated and determined based on the energy spectrum data of the reference energy spectrum region and the measurement sample data corresponding to the energy spectrum to be processed.
[0116] Method 4: Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the measurement environment data corresponding to the energy spectrum to be processed.
[0117] Among them, the measurement environment data can be used to measure the environmental conditions when using nuclear and nuclear radiation measuring instruments for measurement.
[0118] Optionally, the measurement environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurement in the measurement environment.
[0119] Specifically, for each reference energy spectrum region, the second window positioning index of the reference energy spectrum region may be calculated and determined based on the energy spectrum data of the reference energy spectrum region and the measurement environment data corresponding to the energy spectrum to be processed.
[0120] Method 5: Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data.
[0121] Specifically, for each reference energy spectrum area, the second window positioning index of the reference energy spectrum area can be calculated and determined based on the energy spectrum data of the reference energy spectrum area, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data corresponding to the energy spectrum to be processed.
[0122] It should be noted that the method for determining the second window positioning index of the corrected energy spectrum region may also be similar to any one of the above five methods.
[0123] S250 , determining a second-category marked energy spectrum region corresponding to the first-category marked energy spectrum region according to the second window positioning index of the reference energy spectrum region and the second window positioning index of the corrected energy spectrum region.
[0124] Specifically, a comparison is made between the second window positioning index of the reference energy spectrum region and the second window positioning index of the corrected energy spectrum region. If the second window positioning index of the reference energy spectrum region is better than the second window positioning index of the corrected energy spectrum region, the reference energy spectrum region can be used as the second-class marked energy spectrum region, and the preset movement mode can be changed to determine the corrected energy spectrum region under other preset movement modes, and the advantages and disadvantages of these reference energy spectrum regions and the corrected energy spectrum region can be judged according to the second window positioning index to determine other second-class marked energy spectrum regions; if the second window positioning index of the reference energy spectrum region is not better than the second window positioning index of the corrected energy spectrum region, the corrected energy spectrum region can be used as the new reference energy spectrum region, and the corrected energy spectrum region corresponding to the new reference energy spectrum region can be further determined according to the preset movement mode, and the second-class marked energy spectrum region can be determined again by comparing the second window positioning index.
[0125] Based on the above embodiments, Figure 3The schematic diagram of the process of determining the second-class marked energy spectrum area is shown, which can determine the second-class marked energy spectrum area corresponding to the first-class marked energy spectrum area according to the second window positioning index of the reference energy spectrum area and the second window positioning index of the corrected energy spectrum area:
[0126] Step 1: If the second window positioning index of the corrected energy spectrum area is better than the second window positioning index of the reference energy spectrum area, and if it is detected that the preset area update end condition is not met, the corrected energy spectrum area is updated to the reference energy spectrum area, and the operation of moving the boundary of the reference energy spectrum area in a preset moving manner is returned to obtain the corrected energy spectrum area.
[0127] Among them, the end condition of the area update can be a condition for stopping the boundary of the reference energy spectrum area from moving according to the current preset movement method, for example: the number of movements reaches a threshold, the boundary of the reference energy spectrum area moves to the boundary of the energy spectrum to be processed, the reference energy spectrum area moves to the boundary of other reference energy spectrum areas, etc.
[0128] Specifically, the superiority or inferiority between the second window positioning index of the corrected energy spectrum area and the second window positioning index of the reference energy spectrum area is judged. If the second window positioning index of the corrected energy spectrum area is better than the second window positioning index of the reference energy spectrum area, it can be judged whether the preset area update end condition is met. If not, the corrected energy spectrum area will be used as the new reference energy spectrum area, and the boundary of the next reference energy spectrum area will be moved according to the preset moving method to obtain a new corrected energy spectrum area, and the next comparison will be performed.
[0129] Step 2: If the second window positioning index of the revised energy spectrum area is better than the second window positioning index of the reference energy spectrum area, and it is detected that the preset area update end condition is met, the revised energy spectrum area is determined as a second-class marked energy spectrum area.
[0130] Specifically, when the second window positioning index of the corrected energy spectrum area is better than the second window positioning index of the reference energy spectrum area, it is determined whether the preset area update end condition is reached. If it is reached, it indicates that the operation cannot be continued according to the current preset movement method, and the second window positioning index of the corrected energy spectrum area is better. Therefore, the corrected energy spectrum area is determined to be a second-class marked energy spectrum area.
[0131] Step 3: If the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the corrected energy spectrum area, if the detection does not meet the preset movement end condition, update the preset movement method, return to the execution operation to move the boundary of the reference energy spectrum area in the preset movement method, and obtain the operation of the corrected energy spectrum area.
[0132] The movement end condition may be a condition for stopping the movement of the reference energy spectrum region boundary, for example, all preset movement modes are traversed and completed.
[0133] Specifically, when the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the corrected energy spectrum area, it is determined whether the preset movement end condition is met. If not, the preset movement method can be updated, and the boundary of the reference energy spectrum area can be moved according to the new preset movement method, and the corrected energy spectrum area can be re-determined.
[0134] Step 4: If the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the modified energy spectrum area, and the detection reaches the preset movement end condition, the reference energy spectrum area is determined as a second-class marked energy spectrum area.
[0135] Specifically, when the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the corrected energy spectrum area, it is determined whether the preset movement end condition is met. If so, the reference energy spectrum area is determined as a second-class marked energy spectrum area.
[0136] S260 , respectively determining a second window positioning index for each second-class marked energy spectrum region, and selecting a preset number of second-class marked energy spectrum regions ranked high in descending order of the second window positioning index to determine as target counting windows for the energy spectrum to be processed.
[0137] The preset number may be a predetermined number of target counting windows, for example, 1 or 2, etc. The specific value may be determined according to actual needs and is not specifically limited in this embodiment.
[0138] Specifically, the second window positioning index of each second-class marked energy spectrum area can be determined, and the second window positioning indexes are sorted from best to worst, and the second-class marked energy spectrum area corresponding to the second window positioning index with the highest sorting is used as the target counting window of the energy spectrum to be processed.
[0139] The technical solution of the embodiment of the present invention obtains the energy spectrum to be processed, determines the first window positioning index corresponding to each channel address of the energy spectrum to be processed, determines at least one type of marked energy spectrum region according to the first window positioning index corresponding to each channel address, and preliminarily divides the energy spectrum to be processed. For each type of marked energy spectrum region, the type of marked energy spectrum region is used as a reference energy spectrum region, and the boundary of the reference energy spectrum region is moved in a preset moving manner to obtain a corrected energy spectrum region, determines the second window positioning index of the reference energy spectrum region, and determines the second window positioning index of the corrected energy spectrum region. According to the second window positioning index of the reference energy spectrum region, the first window positioning index of the corrected energy spectrum region is obtained. The second window positioning index of the mouth positioning index and the second window positioning index of the corrected energy spectrum area determine the second-class marked energy spectrum area corresponding to the first-class marked energy spectrum area, and process it on the basis of the first-class marked energy spectrum area, and determine the second window positioning index of each second-class marked energy spectrum area respectively, and select a preset number of second-class marked energy spectrum areas with the highest ranking in descending order according to the second window positioning index to be determined as the target counting windows of the energy spectrum to be processed, which solves the problems of low calculation efficiency and poor practicality when determining the counting window, realizes the automatic positioning of the counting window of the energy spectrum, reduces time complexity, and improves practicality.
[0140] Example 3
[0141] Figure 4 This is a schematic diagram of energy spectrum data to be processed provided by the third embodiment of the present invention. Figure 4 The energy spectrum data to be processed is shown, wherein the thick line at the top represents the sample measurement spectrum, and the thin line at the bottom represents the background measurement spectrum.
[0142] Specifically, the target counting window of the energy spectrum to be processed can be determined in the following manner:
[0143] 1. Obtain the energy spectrum to be processed and calculate the initial window positioning index K of each channel address according to the following formula:
[0144]
[0145] Among them, K i is the initial window positioning index of channel address i, i is the channel address number, N i is the spectrum count of the sample corresponding to channel address i, B i is the background measurement spectrum count corresponding to channel address i, T s T is the sample spectrum measurement time, B is the background measurement spectrum measurement time.
[0146] Then, the first window positioning index I of each channel address is calculated according to the following formula:
[0147]
[0148] Among them, Ii is the first window positioning index of address i, and n is the preset number of addresses, which is a positive integer.
[0149] 2. Determine the continuous channel addresses with the first window positioning index greater than 1.8 (preset threshold) as the first marked energy spectrum area.
[0150] Specifically, according to this rule, three first-class labeled energy spectrum regions can be determined: [4,154], [169,172], and [215,221].
[0151] Furthermore, the energy spectrum regions of a type of markers with the number of interval track addresses being less than 20 (preset track address threshold) can be merged into one.
[0152] Specifically, according to this rule, the merged first marker energy spectrum regions are: [4,172] and [215,221].
[0153] 3. Take a class of marked energy spectrum area as the reference energy spectrum area, move the left boundary of the reference energy spectrum area to the left by 1 (a first preset number) channel address to obtain a corrected energy spectrum area. If the second window positioning index of the corrected energy spectrum area is better than that of the reference energy spectrum area, update the corrected energy spectrum area to the reference energy spectrum area, and repeat this cycle until the second window positioning index of the corrected energy spectrum area is no better than that of the reference energy spectrum area.
[0154] Among them, the second window positioning indicator is defined as:
[0155]
[0156] Where F(R) is the window positioning index of the energy spectrum region R, i is the channel address number in region R, Ni is the sample measurement spectrum count corresponding to channel address i, Bi is the background measurement spectrum count corresponding to channel address i, TS is the sample measurement spectrum measurement active time, and TB is the background measurement spectrum measurement active time.
[0157] It should be noted that the calculation method of the first window positioning index and the second window positioning index can be selected according to actual needs, and can be the same or different. Therefore, in this embodiment, different indicators are selected as an example, but it is not limited to selecting the same indicator.
[0158] Specifically, according to this rule, the reference energy spectrum areas corresponding to the two first-marked energy spectrum areas are initially [4,172] and [215,221]. Since the second window positioning index of [3,172] is not better than [4,172] and the second window positioning index of [214,221] is not better than [213,221], the reference energy spectrum areas are finally still [4,172] and [215,221].
[0159] 4. Move the right boundary of the reference energy spectrum area to the right by 1 (the fourth preset number) channel address to obtain a corrected energy spectrum area. If the second window positioning index of the corrected energy spectrum area is better than that of the reference energy spectrum area, update the corrected energy spectrum area to the reference energy spectrum area. Repeat this cycle until the second window positioning index of the corrected energy spectrum area is no better than that of the reference energy spectrum area, and then determine the reference energy spectrum area as a Class II marked energy spectrum area.
[0160] Specifically, according to this rule, the two reference energy spectrum regions [4,172] and [215,221] are finally updated to [4,173] and [215,222], and these two energy spectrum regions become two second-class labeled energy spectrum regions.
[0161] 5. Take the marked energy spectrum area as the reference energy spectrum area, move the left boundary of the reference energy spectrum area to the right by 1 (the second preset number) channel address, and move the right boundary to the left by 1 (the third preset number) channel address to obtain the corrected energy spectrum area. If the second window positioning index of the corrected energy spectrum area is better than that of the reference energy spectrum area, then update the corrected energy spectrum area to the reference energy spectrum area, and repeat this cycle until the second window positioning index of the corrected energy spectrum area is no better than that of the reference energy spectrum area.
[0162] Specifically, according to this rule, the reference energy spectrum regions corresponding to the two first marked energy spectrum regions are initially [4, 172] and [215, 221], and are eventually gradually updated to [10, 166] and [217, 219].
[0163] 6. Move the right boundary of the reference energy spectrum area to the left by 1 (a third preset number) channel address to obtain a corrected energy spectrum area. If the second window positioning index of the corrected energy spectrum area is better than that of the reference energy spectrum area, update the corrected energy spectrum area to the reference energy spectrum area. Repeat this cycle until the second window positioning index of the corrected energy spectrum area is no better than that of the reference energy spectrum area.
[0164] Specifically, according to this rule, the two reference energy spectrum regions [10,166] and [217,219] are finally updated to [10,99] and [217,219].
[0165] 7. Move the left boundary of the reference energy spectrum area to the right by 1 (a second preset number) channel address to obtain a corrected energy spectrum area. If the second window positioning index of the corrected energy spectrum area is better than that of the reference energy spectrum area, update the corrected energy spectrum area to the reference energy spectrum area. Repeat this cycle until the second window positioning index of the corrected energy spectrum area is no better than that of the reference energy spectrum area, and then determine the reference energy spectrum area as a Class II marked energy spectrum area.
[0166] Specifically, according to this rule, the two reference energy spectrum regions [10, 99] and [217, 219] are finally updated to [10, 99] and [217, 219], and these two energy spectrum regions also become two second-class labeled energy spectrum regions.
[0167] Therefore, through the above steps, the energy spectrum regions of the second type of markers are determined to be [4,173], [215,222], [10,99] and [217,219].
[0168] 8. Compare the second window positioning indexes of all the second-class marked energy spectrum regions, and determine the second-class marked energy spectrum region with the first-ranked second window positioning index (a preset number of the top rankings) as the target counting window of the energy spectrum to be processed.
[0169] Specifically, according to this rule, the second window positioning indicators of the four second-class labeled energy spectrum regions are calculated as shown in Table 1, and [10,99] is determined as the target counting window.
[0170] Table 1
[0171] Second type of marker energy spectrum area Second window positioning indicator [4,173] 0.58 [10,99] 0.74 [215,222] <![CDATA[1.59×10 -5 ]]> [217,219] <![CDATA[2.63×10 -4 ]]>
[0172] The technical solution of the embodiment of the present invention obtains the energy spectrum to be processed, determines the first window positioning index corresponding to each channel address of the energy spectrum to be processed, determines at least one type of marked energy spectrum area according to the first window positioning index corresponding to each channel address, moves the boundary of the reference energy spectrum area in a preset moving manner for each type of marked energy spectrum area, determines at least one type of marked energy spectrum area corresponding to the type one marked energy spectrum area, determines the second window positioning index of each type two marked energy spectrum area, and determines the target counting window of the energy spectrum to be processed according to each second window positioning index. This solves the problems of low computational efficiency and poor practicality when determining the counting window, realizes automatic positioning of the counting window of the energy spectrum, reduces time complexity, and improves practicality.
[0173] Example 4
[0174] Figure 5 This is a schematic diagram of the structure of an energy spectrum data processing device provided by the fourth embodiment of the present invention. Figure 5 As shown, the apparatus includes: a first window positioning index determination module 510 , a first-class marker energy spectrum region determination module 520 , a second-class marker energy spectrum region determination module 530 , and a target counting window determination module 540 .
[0175] Among them, the first window positioning index determination module 510 is used to obtain the energy spectrum to be processed and determine the first window positioning index corresponding to each channel address of the energy spectrum to be processed; the first-class mark energy spectrum area determination module 520 is used to determine at least one first-class mark energy spectrum area according to the first window positioning index corresponding to each channel address; the second-class mark energy spectrum area determination module 530 is used to determine at least one second-class mark energy spectrum area corresponding to the first-class mark energy spectrum area for each of the first-class mark energy spectrum areas; the target counting window determination module 540 is used to respectively determine the second window positioning index of each of the second-class mark energy spectrum areas, and determine the target counting window of the energy spectrum to be processed according to each of the second window positioning indicators.
[0176] Optionally, the target counting window determination module 540 is further configured to select a preset number of the second-class labeled energy spectrum regions ranked higher in descending order according to the second window positioning index and determine them as target counting windows of the energy spectrum to be processed.
[0177] Optionally, the second-category marked energy spectrum area determination module 530 is also used to take the first-category marked energy spectrum area as a reference energy spectrum area, move the boundary of the reference energy spectrum area in a preset moving manner, and obtain a corrected energy spectrum area; determine the second window positioning index of the reference energy spectrum area, and determine the second window positioning index of the corrected energy spectrum area; determine the second-category marked energy spectrum area corresponding to the first-category marked energy spectrum area according to the second window positioning index of the reference energy spectrum area and the second window positioning index of the corrected energy spectrum area.
[0178] Optionally, the second-category marked energy spectrum area determination module 530 is also used to, if the second window positioning index of the corrected energy spectrum area is better than the second window positioning index of the reference energy spectrum area, if it is detected that the preset area update end condition is not met, update the corrected energy spectrum area to the reference energy spectrum area, and return to execute the operation of moving the boundary of the reference energy spectrum area in a preset moving manner to obtain the corrected energy spectrum area; if the second window positioning index of the corrected energy spectrum area is better than the second window positioning index of the reference energy spectrum area, and it is detected that the preset area update end condition is met, determine the corrected energy spectrum area as a second-category marked energy spectrum area; if the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the corrected energy spectrum area, if it is detected that the preset movement end condition is not met, update the preset movement method, return to execute the operation of moving the boundary of the reference energy spectrum area in a preset moving manner to obtain the corrected energy spectrum area; if the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the corrected energy spectrum area, and it is detected that the preset movement end condition is met, determine the reference energy spectrum area as a second-category marked energy spectrum area.
[0179] Optionally, moving the boundary of the reference energy spectrum area in a preset manner includes performing at least one of the following four operations: moving the left boundary of the reference energy spectrum area to the left by a first preset number of channels; moving the left boundary of the reference energy spectrum area to the right by a second preset number of channels; moving the right boundary of the reference energy spectrum area to the left by a third preset number of channels; and moving the right boundary of the reference energy spectrum area to the right by a fourth preset number of channels.
[0180] Optionally, the first window positioning index determination module 510 is further used to determine the first window positioning index of each channel address based on the energy spectrum data of each channel address; or, to determine the first window positioning index of each channel address based on the energy spectrum data of each channel address and the energy spectrum data of the energy spectrum to be processed; or, to determine the first window positioning index of each channel address based on the energy spectrum data of each channel address and the measurement sample data corresponding to the energy spectrum to be processed; or, to determine the first window positioning index of each channel address based on the energy spectrum data of each channel address and the measurement environment data corresponding to the energy spectrum to be processed; or, to determine the first window positioning index of each channel address based on the energy spectrum data of each channel address, the measurement sample data corresponding to the energy spectrum to be processed and the measurement environment data.
[0181] Optionally, the first-class mark energy spectrum region determination module 520 is further used to determine the channel address whose first window positioning index is better than the preset threshold as a first-class mark energy spectrum region; or, determine the channel address of each section of the first window positioning index better than the preset threshold as a first-class mark energy spectrum region, and merge two or more first-class mark energy spectrum regions whose number of interval channel addresses is less than the preset channel address threshold into one first-class mark energy spectrum region; wherein, the first-class mark energy spectrum region includes one channel address, or includes two or more consecutive channel addresses.
[0182] Optionally, the second-class labeled energy spectrum area determination module 530 is also used to determine the second window positioning index of each reference energy spectrum area according to the energy spectrum data of each reference energy spectrum area; or, determine the second window positioning index of each reference energy spectrum area according to the energy spectrum data of each reference energy spectrum area and the energy spectrum data of the energy spectrum to be processed; or, determine the second window positioning index of each reference energy spectrum area according to the energy spectrum data of each reference energy spectrum area and the measurement sample data corresponding to the energy spectrum to be processed; or, determine the second window positioning index of each reference energy spectrum area according to the energy spectrum data of each reference energy spectrum area and the measurement environment data corresponding to the energy spectrum to be processed; or, determine the second window positioning index of each reference energy spectrum area according to the energy spectrum data of each reference energy spectrum area, the measurement sample data corresponding to the energy spectrum to be processed and the measurement environment data.
[0183] Optionally, the energy spectrum data includes at least one of sample count, background count, measurement time, channel address and energy; the measured sample data includes at least one of measured sample activity, volume and mass; the measured environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurement in the measurement environment.
[0184] Optionally, the first window positioning index determining module 510 is further configured to calculate the initial window positioning index of each channel address according to the following formula:
[0185]
[0186] Among them, K i is the initial window positioning index of channel address i, i is the channel address number, N i is the spectrum count of the sample corresponding to channel address i, B i is the background measurement spectrum count corresponding to channel address i, T s T is the sample spectrum measurement time, B is the background measurement spectrum measurement time;
[0187] The first window positioning index of each channel address is calculated according to the following formula:
[0188]
[0189] Among them, I i is the first window positioning index of address i, and n is the preset number of addresses, which is a positive integer.
[0190] The technical solution of the embodiment of the present invention obtains the energy spectrum to be processed, determines the first window positioning index corresponding to each channel address of the energy spectrum to be processed, determines at least one type-one marked energy spectrum area according to the first window positioning index corresponding to each channel address, so as to preliminarily divide the energy spectrum to be processed, and for each type-one marked energy spectrum area, determines at least one type-two marked energy spectrum area corresponding to the type-one marked energy spectrum area, processes on the basis of the type-one marked energy spectrum area, determines the second window positioning index of each type-two marked energy spectrum area respectively, and determines the target counting window of the energy spectrum to be processed according to each second window positioning index, thereby solving the problems of low computational efficiency and poor practicality in determining the counting window, realizing automatic positioning of the counting window of the energy spectrum, reducing time complexity, and improving practicality.
[0191] The energy spectrum data processing device provided in the embodiment of the present invention can execute the energy spectrum data processing method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0192] Example 5
[0193] Figure 6A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0194] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., which is communicatively connected to the at least one processor 11. The memory stores a computer program that can be executed by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. Various programs and data required for the operation of the electronic device 10 can also be stored in the RAM 13. The processor 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0195] Multiple components in the electronic device 10 are connected to the I / O interface 15, including an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0196] The processor 11 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the energy spectrum data processing method.
[0197] In some embodiments, the energy spectrum data processing method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the energy spectrum data processing method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the energy spectrum data processing method by any other appropriate means (e.g., by means of firmware).
[0198] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0199] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0200] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0201] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0202] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0203] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0204] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0205] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for processing energy spectrum data, characterized in that: include: Acquire an energy spectrum to be processed, and determine a first window positioning index corresponding to each channel address of the energy spectrum to be processed; Determining at least one type-one marked energy spectrum region according to the first window positioning index corresponding to each channel address; For each of the first-class marker energy spectrum regions, determining at least one second-class marker energy spectrum region corresponding to the first-class marker energy spectrum region; respectively determining a second window positioning index for each of the second-class marked energy spectrum regions, and determining a target counting window for the energy spectrum to be processed according to each of the second window positioning indexes; The determining the target counting window of the energy spectrum to be processed according to each second window positioning index includes: A preset number of the second-class marked energy spectrum regions with the highest rankings are selected in descending order according to the second window positioning index to be determined as target counting windows of the energy spectrum to be processed.
2. The method according to claim 1, characterized in that The determining of at least one second-category marker energy spectrum region corresponding to the first-category marker energy spectrum region includes: Taking a type of marked energy spectrum region as a reference energy spectrum region, and moving the boundary of the reference energy spectrum region in a preset moving manner to obtain a modified energy spectrum region; Determining a second window positioning index for a reference energy spectrum region, and determining a second window positioning index for a correction energy spectrum region; A second type of marked energy spectrum region corresponding to the first type of marked energy spectrum region is determined according to the second window positioning index of the reference energy spectrum region and the second window positioning index of the corrected energy spectrum region.
3. The method according to claim 2, characterized in that The determining, according to the second window positioning index of the reference energy spectrum area and the second window positioning index of the corrected energy spectrum area, a second type of marked energy spectrum area corresponding to the first type of marked energy spectrum area includes: If the second window positioning index of the modified energy spectrum area is better than the second window positioning index of the reference energy spectrum area, and if it is detected that the preset area update end condition is not met, the modified energy spectrum area is updated to the reference energy spectrum area, and the operation of moving the boundary of the reference energy spectrum area in a preset moving manner to obtain the modified energy spectrum area is returned to execution; If the second window positioning index of the modified energy spectrum area is better than the second window positioning index of the reference energy spectrum area, and it is detected that a preset area update end condition is met, the modified energy spectrum area is determined as a second-class marked energy spectrum area; If the second window positioning index of the reference energy spectrum region is better than the second window positioning index of the modified energy spectrum region, and if the preset movement end condition is not met, updating the preset movement mode, returning to the execution operation to move the boundary of the reference energy spectrum region in the preset movement mode to obtain the operation of the modified energy spectrum region; If the second window positioning index of the reference energy spectrum area is better than the second window positioning index of the modified energy spectrum area, and the detection reaches the preset movement end condition, the reference energy spectrum area is determined as a second-class marked energy spectrum area.
4. The method according to claim 2, characterized in that Moving the boundary of the reference energy spectrum region in a preset moving manner includes performing at least one of the following four operations: Moving the left boundary of the reference energy spectrum region to the left by a first preset number of channels; moving the left boundary of the reference energy spectrum region rightward by a second preset number of channels; moving the right boundary of the reference energy spectrum region to the left by a third preset number of channels; The right boundary of the reference energy spectrum region is moved rightward by a fourth preset number of channels.
5. The method according to claim 1, wherein The determining of the first window positioning index corresponding to each channel address of the energy spectrum to be processed includes: Determine the first window positioning index of each channel address according to the energy spectrum data of each channel address; or, Determine the first window positioning index of each channel address according to the energy spectrum data of each channel address and the energy spectrum data of the energy spectrum to be processed; or Determine the first window positioning index of each channel address according to the energy spectrum data of each channel address and the measurement sample data corresponding to the energy spectrum to be processed; or Determine the first window positioning index of each channel address according to the energy spectrum data of each channel address and the measurement environment data corresponding to the energy spectrum to be processed; or The first window positioning index of each channel address is determined respectively according to the energy spectrum data of each channel address, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data.
6. The method according to claim 1, characterized in that The step of determining at least one type-one marked energy spectrum region according to the first window positioning index corresponding to each channel address includes: Determine the channel address whose first window positioning index is better than a preset threshold as a type of marked energy spectrum area; or, The channel addresses whose first window positioning index is better than the preset threshold in each section are determined as a first-class marked energy spectrum region, and two or more first-class marked energy spectrum regions whose number of interval channel addresses is less than the preset channel address threshold are merged into one first-class marked energy spectrum region; The energy spectrum region of a type of mark includes one channel address, or includes two or more consecutive channel addresses.
7. The method according to claim 2, characterized in that The determining of the second window positioning index of the reference energy spectrum region includes: Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region; or Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the energy spectrum data of the energy spectrum to be processed; or Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the measurement sample data corresponding to the energy spectrum to be processed; or Determine the second window positioning index of each reference energy spectrum region according to the energy spectrum data of each reference energy spectrum region and the measurement environment data corresponding to the energy spectrum to be processed; or The second window positioning index of each reference energy spectrum region is determined respectively according to the energy spectrum data of each reference energy spectrum region, the measurement sample data corresponding to the energy spectrum to be processed, and the measurement environment data.
8. The method according to claim 5 or 7, characterized in that The energy spectrum data includes at least one of sample count, background count, measurement time, channel address and energy; the measured sample data includes at least one of measured sample activity, volume and mass; the measured environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurement in the measurement environment.
9. The method according to claim 5, characterized in that Determining the first window positioning index of each channel address based on the energy spectrum data of each channel address and the measurement sample data corresponding to the energy spectrum to be processed includes: The initial window positioning index for each channel address is calculated according to the following formula: Among them, K i is the initial window positioning index of channel address i, i is the channel address number, N i is the spectrum count of the sample corresponding to channel address i, B i is the background measurement spectrum count corresponding to channel address i, T s T is the sample spectrum measurement time, B is the background measurement spectrum measurement time; The first window positioning index of each channel address is calculated according to the following formula: Among them, I i is the first window positioning index of address i, and n is the preset number of addresses, which is a positive integer.
10. An energy spectrum data processing device, characterized in that: include: A first window positioning index determination module is used to obtain an energy spectrum to be processed and determine a first window positioning index corresponding to each channel address of the energy spectrum to be processed; A first-class marker energy spectrum region determination module, configured to determine at least one first-class marker energy spectrum region according to a first window positioning index corresponding to each channel address; A second-class marker energy spectrum region determination module is configured to determine, for each of the first-class marker energy spectrum regions, at least one second-class marker energy spectrum region corresponding to the first-class marker energy spectrum region; a target counting window determining module, configured to respectively determine a second window positioning index for each of the second-class labeled energy spectrum regions, and determine a target counting window for the energy spectrum to be processed according to each of the second window positioning indexes; The target counting window determination module is further configured to select a preset number of the second-class marked energy spectrum regions ranked higher in descending order according to the second window positioning index and determine them as target counting windows of the energy spectrum to be processed.
11. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the energy spectrum data processing method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the energy spectrum data processing method according to any one of claims 1 to 9 when executed.
Citation Information
Patent Citations
Peak searching method, device and computer storage medium for energy spectrum
CN108324295A