Method, device, electronic device and storage medium for positioning energy spectrum counting window
By partitioning the energy spectrum and calculating a window positioning index, the method automatically positions the counting window in liquid scintillation counters, addressing the challenges of continuous energy spectra and quenching effects, and improving efficiency and practicality.
Patent Information
- Application Number
- JP2023573365
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-06-20
- Filing Date
- 2022-09-01
- Publication Date
- 2025-06-05
- Estimated Expiration
- 2042-09-01
AI Technical Summary
There is a difficulty in accurately positioning the counting window of the energy spectrum in liquid scintillation counters, due to the continuous nature of beta ray energy spectra and the quenching effect, which deforms and shifts the energy spectrum, making existing automatic peak search technologies inefficient.
The method involves partitioning the energy spectrum into multiple sections based on channel addresses, determining candidate energy spectrum sections, calculating a window positioning index for each section, and selecting a target counting window based on the optimal index, thereby automatically positioning the counting window.
This approach reduces time complexity and improves practicality by enabling accurate and automatic positioning of the counting window, even in the presence of continuous energy spectra and quenching effects.
Smart Images

Figure 0007689204000022 
Figure 0007689204000023 
Figure 0007689204000024
Abstract
Description
[Technical field]
[0001] This application claims priority to a Chinese patent application filed with the China Patent Office on June 20, 2022, bearing application number 202210697329.2, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the technical field of energy spectrum measurement, for example to a method, an apparatus, an electronic device and a storage medium for positioning an energy spectrum counting window. [Background technology]
[0003] Among nucleon and nuclear radiation measuring instruments, gamma spectrometers, alpha spectrometers and liquid scintillation counters are all common energy spectrum measuring instruments, and the radioactive energy spectra measured by them are generally represented as a series of data in which channel addresses correspond to counts.
[0004] For a particular radioisotope, the counts contributed in its energy spectrum are generally concentrated and distributed in a corresponding channel address region, and only the counts in this region are considered when analyzing the energy spectrum, thereby avoiding background outside the region and interference of counts contributed by other isotopes; therefore, this region is called the counting window.
[0005] For the energy spectrum measured by liquid scintillation counter, there is still no good counting window automatic positioning method in the industry, mainly because liquid scintillation counter is often used to measure beta rays, whose energy is a continuous spectrum, and there is often a quenching effect during the measurement of liquid scintillation counter, so that the energy spectrum has different degrees of deformation and shift, so that the measured energy spectrum usually does not show a sharp normal distribution, but is flat, and the existing automatic peak search technology cannot continue to be used. The figure of merit (FOM) of all possible counting windows is traversed and the magnitude of the FOM value is compared to position the counting window, which is low in efficiency and low in practicality. Summary of the Invention [Problem to be solved by the invention]
[0006] The present application solves the problem of difficulty in accurately positioning the counting window of the energy spectrum, and provides a method, device, electronic device, and storage medium for positioning the energy spectrum counting window to realize automatic positioning of the counting window of the energy spectrum and reduced time complexity. [Means for solving the problem]
[0007] Obtaining a pending energy spectrum, partitioning the pending energy spectrum into at least two energy spectrum partitions according to channel addresses, and determining at least one candidate energy spectrum section according to the at least two energy spectrum partitions, each candidate energy spectrum section including at least one energy spectrum partition; determining a window positioning index for each of the candidate energy spectral sections; and determining a label energy spectral section from the at least one candidate energy spectral section according to the window positioning index of the at least one candidate energy spectral section; determining a target counting window for the pending energy spectrum in response to the labeled energy spectrum section.
[0008] an energy spectrum partitioning module configured to obtain a pending energy spectrum, partition the pending energy spectrum into at least two energy spectrum partitions according to a channel address, and determine at least one candidate energy spectrum section, each candidate energy spectrum section including at least one energy spectrum partition, according to the at least two energy spectrum partitions; an energy spectral section marking module configured to determine a window positioning index for each of the candidate energy spectral sections and to determine a marking energy spectral section from the at least one candidate energy spectral section according to the window positioning index of the at least one candidate energy spectral section; a counting window determining module configured to determine a target counting window for the pending energy spectrum according to the labeled energy spectrum section.
[0009] At least one processor; a memory communicatively coupled to the at least one processor; The memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor such that the at least one processor can perform the energy spectrum counting window positioning method described in any embodiment of the present application.
[0010] A computer-readable storage medium is provided having stored thereon computer instructions which, when executed by a processor, implement the method for positioning an energy spectrum counting window as described in any of the embodiments of the present application. [Brief description of the drawings]
[0011] Below, we will briefly introduce the drawings that need to be used in the description of the embodiments. The drawings in the following description are only some embodiments of the present application, and it is obvious to those skilled in the art that they can further obtain other drawings according to these drawings without performing any creative work.
[0012] [Figure 1] FIG. 2 is a schematic diagram of a flow of a method for positioning an energy spectrum counting window according to the first embodiment of the present application. [Diagram 2] FIG. 11 is a schematic diagram of a flow of a method for positioning an energy spectrum counting window according to a second embodiment of the present application. [Diagram 3] FIG. 11 is a schematic diagram of the flow of a method for positioning an energy spectrum counting window according to a third embodiment of the present application. [Figure 4] FIG. 13 is a schematic diagram of an energy spectrum to be processed according to Example 4 of the present application. [Diagram 5] FIG. 13 is a schematic diagram of an energy spectrum of the first partitioning according to Example 4 of the present application. [Figure 6] FIG. 13 is a schematic diagram of an energy spectrum of the second partitioning according to Example 4 of the present application. [Figure 7] FIG. 13 is a schematic diagram of an energy spectrum of the third partitioning according to Example 4 of the present application. [Figure 8] FIG. 13 is a schematic diagram of an energy spectrum of the fourth partitioning according to the fourth embodiment of the present application. [Figure 9] FIG. 13 is a schematic diagram of an energy spectrum of the fifth partitioning according to Example 4 of the present application. [Figure 10] FIG. 13 is a schematic diagram of an energy spectrum of the sixth partitioning according to the fourth embodiment of the present application. [Figure 11] FIG. 11 is a structural schematic diagram of an energy spectrum counting window device according to Example 7 of the present application. [Figure 12] FIG. 13 is a structural schematic diagram of an electronic device according to an eighth embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Hereinafter, the technical aspects of the embodiments of the present application will be described with reference to the drawings in the embodiments of the present application, but it is clear that the described embodiments are only some of the embodiments of the present application. All other embodiments obtained based on the embodiments of the present application without creative labor by those skilled in the art should fall within the scope of protection of the present application.
[0014] In addition, the terms "first", "second", etc. in the specification and claims of the present application and the drawings are not necessarily used to describe a particular order or sequence, but are merely used to distinguish between similar objects. The data used in this manner may be substituted where appropriate, so that it should be understood that the embodiments of the present application described herein may be performed in an order other than that shown or described herein. In addition, the terms "comprise" and "have" and any variations thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or apparatus of a series of steps or units, and are not necessarily limited to those steps or units expressly recited, but may include other steps or units not expressly recited or inherent to the process, method, product, or apparatus.
[0015] Example 1 Fig. 1 is a schematic diagram of a flow of an energy spectrum counting window positioning method according to embodiment 1 of the present application. This embodiment is applicable to automatically positioning the energy spectrum counting window, and the method can be performed by an energy spectrum counting window positioning device, which can be realized by adopting software and / or hardware methods, and the device can be disposed in electronic equipment, such as a PC terminal, a server, etc. As shown in Fig. 1, the method includes the following steps:
[0016] In S110, a pending energy spectrum is obtained, the pending energy spectrum is partitioned into at least two energy spectrum partitions according to a channel address, and at least one candidate energy spectrum section is determined according to the at least two energy spectrum partitions.
[0017] The pending energy spectrum may be data obtained by measuring based on nuclear particles and nuclear radiation measuring instruments. The energy spectrum partition may be an energy spectrum region obtained after dividing the pending energy spectrum according to a preset rule, where the preset rule is not limited and may be determined according to actual needs. Each candidate energy spectrum section includes at least one energy spectrum partition, and each energy spectrum partition may be determined as a candidate energy spectrum section, or at least two adjacent energy spectrum partitions may be determined as a candidate energy spectrum section.
[0018] The radioactive energy spectrum measured by an energy spectrum measuring instrument is generally expressed as a series of data in which channel addresses correspond to counts, as shown in Table 1. The channel address usually shows a positive correlation with the energy, and a linear or logarithmic correlation is often seen. The channel address i corresponds to count N. iThe physical meaning of this is that the nucleon and nuclear radiation measuring instrument is N i The number of individuals was recorded.
[0019] JPEG0007689204000001.jpg25170
[0020] The pending energy spectrum can be obtained according to a nuclear particle and nuclear radiation measuring instrument, or a pending energy spectrum that has been measured and stored in advance can be obtained. According to a preset rule, the pending energy spectrum is partitioned according to a channel address to obtain at least two energy spectrum partitions. At least one candidate energy spectrum section can be determined according to a combination of the at least two energy spectrum partitions. Preferably, when each candidate energy spectrum section includes two or more energy spectrum partitions, the two or more energy spectrum partitions are arranged consecutively.
[0021] For example, if the energy spectral partitions include 1, 2, 3, and 4, each of the energy spectral partitions 1, 2, 3, and 4 may be one candidate energy spectral section, or two adjacent energy spectral partitions, for example, the energy spectral partitions 1 and 2, the energy spectral partitions 2 and 3, and the energy spectral partitions 3 and 4, may be one candidate energy spectral section, or three adjacent energy spectral partitions, for example, the energy spectral partitions 1 to 3 and the energy spectral partitions 2 to 4, may be one candidate energy spectral section, or of course, the energy spectral partitions 1 to 4 may be one candidate energy spectral section.
[0022] Based on this embodiment, the to-be-processed energy spectrum can be divided into at least two energy spectrum partitions according to the channel addresses by any one of the following methods.
[0023] In Scheme 1, the to-be-processed energy spectrum is partitioned into at least two energy spectrum partitions according to the total number of channel addresses and the number of channel addresses included in the preset energy spectrum partition.
[0024] According to actual needs, the number of channel addresses to be included in the energy spectrum partition is preset, and the energy spectrum to be processed is partitioned according to the number of channel addresses and the total number of channel addresses to obtain at least two energy spectrum partitions. If the total number of channel addresses is not an integer multiple of the number of channel addresses included in the preset energy spectrum partition, the remaining channel addresses can be independently made into one energy spectrum partition, or the remaining channel addresses can be added to the last one energy spectrum partition.
[0025] For example, if the total number of channel addresses is 256 and the number of channel addresses included in the preset energy spectrum partition is 64, the four energy spectrum partitions can be 1 to 64, 65 to 128, 129 to 192, and 193 to 256; if the number of channel addresses included in the preset energy spectrum partition is 80, the four energy spectrum partitions can be 1 to 80, 81 to 160, 161 to 240, and 241 to 256, or the three energy spectrum partitions can be 1 to 80, 81 to 160, and 161 to 256.
[0026] In Scheme 2, the to-be-processed energy spectrum is partitioned into at least two energy spectrum partitions according to the total number of channel addresses and the partition number corresponding to the preset energy spectrum partition.
[0027] According to actual needs, a partition number corresponding to the energy spectrum partition is preset, and the to-be-processed energy spectrum is divided according to the partition number and the total number of channel addresses to obtain at least two energy spectrum partitions.
[0028] For example, if the total number of channel addresses is 256 and the number of partitions corresponding to the preset energy spectrum partitions is 8, the eight energy spectrum partitions may be 1 to 32, 33 to 64, 65 to 96, 97 to 128, 129 to 160, 161 to 192, 193 to 224, and 225 to 256.
[0029] In Manner 3, the pending energy spectrum is partitioned into at least two energy spectrum partitions according to the distribution of the energy spectrum data of the pending energy spectrum.
[0030] The distribution of the energy spectrum data may be an amplitude value distribution, etc. It can be understood that the distribution state of the energy spectrum data can be determined according to the energy spectrum to be processed, and the energy spectrum to be processed can be divided according to the distribution state, for example, when the count value reaches a preset threshold, the energy spectrum can be divided into one energy spectrum region.
[0031] The method may also include calculating a partition value corresponding to each channel address in the energy spectrum to be processed based on a preset partition value algorithm, calculating for each channel address an average value of the partition value of each channel address and the partition values of a preset number of channel addresses adjacent to each channel address, and dividing the energy spectrum to be processed into at least two energy spectrum partitions according to the channel addresses according to the average value of the partition values of the multiple channel addresses.
[0032] The preset partition value algorithm is JPEG0007689204000002.jpg1864, P is the partition value of each channel address, i is the channel address number, and N i is the sample measurement spectrum count corresponding to channel address i, and B i is the background measurement spectral count corresponding to channel address i, and T S is the measurement live time of the sample measurement spectrum, and T B is the measurement live time of the background measurement spectrum.
[0033] The partition value of each channel address can be smoothed by calculating the average value of the partition value of each channel address and the partition value of a preset number of channel addresses adjacent to each channel address. The partition values of 15 channel addresses at both ends of each channel address are used to calculate the corresponding average value of the channel address. Calculate JPEG0007689204000003.jpg74 It could also be JPEG0007689204000004.jpg2864. n is the actual total number of channel addresses for calculating the average value, i is the channel address number of the channel addresses of the average value waiting to be calculated, and j is the channel address number of the channel addresses for calculating the average value. n is generally 31, but when channel address i is close to the edge of the energy spectrum, it is necessary to subtract the case where channel address j is invalid.
[0034] Partitioning the energy spectrum to be processed into at least two energy spectrum partitions according to the channel addresses according to the average value of the partition values of each channel address may also mean determining a partition number for each channel address according to the corresponding average value of each channel address, and partitioning consecutive channel addresses with matching partition numbers into one partition.
[0035] For example, the partition number M of each channel address can be calculated according to the following formula: JPEG0007689204000005.jpg2764
[0036] In S120, a window positioning index of each candidate energy spectral section is determined, and a title energy spectral section is determined from the at least one candidate energy spectral section according to the window positioning index of the at least one candidate energy spectral section.
[0037] The window positioning index may be index data determined according to the energy spectrum data of at least one candidate energy spectrum section for weighing the merits and demerits of the counting window, or the energy spectrum data of at least one candidate energy spectrum section and other data. The designated energy spectrum section may be one of the at least one candidate energy spectrum sections or a plurality of consecutive candidate energy spectrum sections, and the designated energy spectrum section is the energy spectrum section for which the currently partitioned counting window is optimal.
[0038] According to the calculation manner of the window positioning index, the window positioning index of each candidate energy spectral section can be calculated and determined. One candidate energy spectral section with the optimal window positioning index may be determined as the target energy spectral section. Window positioning index may be calculated for the optimal one candidate energy spectral section, the candidate energy spectral section adjacent to the optimal one candidate energy spectral section on the left side, the candidate energy spectral section adjacent to the optimal one candidate energy spectral section on the right side, and the candidate energy spectral section adjacent to the optimal one candidate energy spectral section on both sides, and the candidate energy spectral section with the optimal window positioning index combined in the optimal combination manner may be determined as the target energy spectral section.
[0039] In the embodiment of the present application, whether the window positioning index is optimal or not is related to the calculation method thereof, and the value of the window positioning index is not limited here. For example, the optimal window positioning index may be the maximum value of the window positioning index, the minimum value of the window positioning index, the value of the window positioning index closest to the set value, the intermediate value of the window positioning index, etc.
[0040] Preferably, the window positioning index is a figure of merit (FOM) proposed by the academic community in this field, whose definition is usually the ratio of the square of the detection efficiency to the background count rate, and the larger the FOM value, the better the index effect and the better the effect of the counting window.
[0041] Preferably, the window positioning index is: Defined as JPEG0007689204000006.jpg1564, F(R) is the window positioning index of the candidate energy spectrum section R, i is the channel address number within the candidate energy spectrum section R, and N i is the sample measurement spectrum count corresponding to channel address i, and B i is the background measurement spectral count corresponding to channel address i, and T S is the measurement live time of the sample measurement spectrum, and T B is the measurement live time of the background measurement spectrum.
[0042] Preferably, the window positioning index is: Defined as JPEG0007689204000007.jpg1564, F(R) is the window positioning index of the candidate energy spectrum section R, i is the channel address number within the candidate energy spectrum section R, and N i is the sample measurement spectrum count corresponding to channel address i, and B i is the background measurement spectral count corresponding to channel address i, and T S is the measurement live time of the sample measurement spectrum, and T B is the measurement live time of the background measurement spectrum.
[0043] Preferably, the window positioning index is: Defined as JPEG0007689204000008.jpg1364, F(R) is the window positioning index of the candidate energy spectrum section R, i is the channel address number within the candidate energy spectrum section R, and L R is the width of the candidate energy spectrum section R (i.e., the number of channel addresses it contains), and N i is the sample measurement spectrum count corresponding to channel address i, and B i is the background measurement spectral count corresponding to channel address i, and T S is the measurement live time of the sample measurement spectrum, and T B is the measurement live time of the background measurement spectrum.
[0044] The above-mentioned multiple methods for determining the window positioning index are merely illustrative and do not limit the calculation method of the window positioning index. Any index that can be used for evaluating and calculating the window effect can be taken as the window positioning index, and is not limited in this embodiment.
[0045] For example, there are eight candidate energy spectrum sections in total, and the window positioning index corresponding to the candidate energy spectrum section 4 is the optimal one among the eight candidate energy spectrum sections; at this time, the window positioning indexes of the candidate energy spectrum section 4, the candidate energy spectrum sections 3-4, the candidate energy spectrum sections 4-5 and the candidate energy spectrum sections 3-5 can be calculated; if the window positioning index corresponding to the candidate energy spectrum section 4 is optimal, the candidate energy spectrum section 4 is the target energy spectrum section; if the window positioning index corresponding to the candidate energy spectrum sections 3-4 is optimal, the window positioning indexes corresponding to the candidate energy spectrum sections 3-4 are extended, the window positioning indexes corresponding to the candidate energy spectrum sections 3-4, the candidate energy spectrum sections 2-4, the candidate energy spectrum sections 3-5 and the candidate energy spectrum sections 2-5 are determined; the optimal section and the extended section are determined sequentially to determine the target energy spectrum section; if the window positioning index of the candidate energy spectrum sections 4-5 or the candidate energy spectrum sections 3-5 is optimal, the manner of determining the target energy spectrum section is similar to the case where the window positioning index corresponding to the candidate energy spectrum sections 3-4 is optimal, and is not described here repeatedly.
[0046] In S130, a target counting window for the pending energy spectrum is determined according to the labeled energy spectrum section.
[0047] After the labelled energy spectrum section is determined, the labelled energy spectrum section is considered to be the optimal energy spectrum section in the current partitioning rule. In this case, the labelled energy spectrum section may be set as the target counting window of the pending energy spectrum. The labelled energy spectrum section may be continued to be partitioned, i.e., partitioned based on the labelled energy spectrum section, and calculation and comparison are performed for the partitioned energy spectrum partition to determine the target counting window of the pending energy spectrum.
[0048] The technical aspects of the embodiments of the present application include obtaining an energy spectrum to be processed, dividing the energy spectrum to be processed into at least two energy spectrum partitions according to channel addresses to perform preliminary partitioning of the energy spectrum to be processed, determining at least one candidate energy spectrum section according to the at least two energy spectrum partitions, determining a window positioning index for each candidate energy spectrum section, determining a target energy spectrum section from the at least one candidate energy spectrum section according to the window positioning index of the at least one candidate energy spectrum section, preliminary selecting a counting window, and determining a target counting window of the energy spectrum to be processed according to the target energy spectrum section, thereby solving the problem of low calculation efficiency and low practicality when determining a counting window, and achieving the technical effects of automatically positioning the counting window of the energy spectrum, reducing time complexity, and improving practicality.
[0049] Example 2 FIG. 2 is a schematic diagram of the flow of a method for positioning an energy spectrum counting window according to the second embodiment of the present application. Based on the above embodiment, the present embodiment can refer to the technical aspects of the present embodiment for a specific embodiment of determining the target counting window of the pending energy spectrum according to the labeled energy spectrum section. The interpretation of the same or corresponding terms in the above embodiments will not be repeated here. As shown in FIG. 2, the method includes the following steps: Specifically, step S130 in the first embodiment includes steps S230, S240, and S250 in the second embodiment.
[0050] In S210, a pending energy spectrum is obtained, the pending energy spectrum is partitioned into at least two energy spectrum partitions according to a channel address, and at least one candidate energy spectrum section is determined according to the at least two energy spectrum partitions.
[0051] In S220, a window positioning index for each candidate energy spectral section is determined, and a title energy spectral section is determined from the at least one candidate energy spectral section according to the window positioning index of the at least one candidate energy spectral section.
[0052] According to this embodiment, the window positioning index of each candidate energy spectrum section can be determined by any one of the following methods.
[0053] In Manner 1, a window positioning index of each candidate energy spectral section is determined according to the energy spectral data of each candidate energy spectral section or the energy spectral data of each candidate energy spectral section and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections.
[0054] For each candidate energy spectral section, a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section, or a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section and the energy spectral data of candidate energy spectral sections adjacent to the candidate energy spectral section.
[0055] Preferably, the energy spectrum data includes at least one of a sample count, a background count, a measurement time, a channel address, and an energy.
[0056] In method 2, a window positioning index for each candidate energy spectral section is determined according to the energy spectral data of each candidate energy spectral section and the energy spectral data of the energy spectrum waiting to be processed, or according to the energy spectral data of each candidate energy spectral section and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections and the energy spectral data of the energy spectrum waiting to be processed.
[0057] For each candidate energy spectral section, a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section and the energy spectral data of the energy spectrum to be processed, or a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section, the energy spectral data of the candidate energy spectral section adjacent to the candidate energy spectral section, and the energy spectral data of the energy spectrum to be processed.
[0058] In method 3, a window positioning index for each candidate energy spectral section is determined according to the energy spectral data of each candidate energy spectral section and the measurement sample data corresponding to the energy spectrum to be processed, or according to the energy spectral data of each candidate energy spectral section and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections and the measurement sample data corresponding to the energy spectrum to be processed.
[0059] The measurement sample data is data relating to a sample waiting to be measured for weighing the measurement sample. Preferably, the measurement sample data includes at least one of the activity, volume and mass of the measurement sample.
[0060] For each candidate energy spectral section, a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section and the measurement sample data corresponding to the energy spectrum to be processed, or a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section, the energy spectral data of a candidate energy spectral section adjacent to the candidate energy spectral section, and the measurement sample data corresponding to the energy spectrum to be processed.
[0061] In method 4, a window positioning index for each candidate energy spectral section is determined according to the energy spectral data of each candidate energy spectral section and the measurement environment data corresponding to the energy spectrum to be processed, or according to the energy spectral data of each candidate energy spectral section and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections and the measurement environment data corresponding to the energy spectrum to be processed.
[0062] The measured environmental data can be used to assess the environmental conditions at the time measurements are made using nuclear particle and nuclear radiation measurement instruments.
[0063] Preferably, the measured environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurements in the measured environment.
[0064] For each candidate energy spectral section, a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section and the measurement environment data corresponding to the energy spectrum to be processed, or a window positioning index for the candidate energy spectral section may be calculated and determined according to the energy spectral data of the candidate energy spectral section, the energy spectral data of a candidate energy spectral section adjacent to the candidate energy spectral section, and the measurement environment data corresponding to the energy spectrum to be processed.
[0065] In method 5, a window positioning index for each candidate energy spectral section is determined according to the energy spectral data of each candidate energy spectral section, 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, or the energy spectral data of each candidate energy spectral section, and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections, 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.
[0066] For each candidate energy spectral section, a window positioning index for the candidate energy spectral section may be calculated and determined in accordance with the energy spectral data of the candidate energy spectral section, 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, or a window positioning index for the candidate energy spectral section may be calculated and determined in accordance with the energy spectral data of the candidate energy spectral section, the energy spectral data of a candidate energy spectral section adjacent to the candidate energy spectral section, 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.
[0067] In S230, a reserved energy spectrum section is determined according to the labeled energy spectrum section.
[0068] The reserved energy spectrum section can be understood as the energy spectrum section that is used during the next partition and calculation.
[0069] After the labeled energy spectral section is determined, the labeled energy spectral section may be determined as a reserved energy spectral section, or the labeled energy spectral section and a certain number of energy spectral partitions or channel addresses on both the left and right ends of the labeled energy spectral section may be set as reserved energy spectral partitions.
[0070] Preferably, the reserved energy spectrum section can be determined according to the labeled energy spectrum section in any one of the following ways:
[0071] In method 1, the labeled energy spectrum section is the reserved energy spectrum section.
[0072] Illustratively, if the labeled energy spectrum sections are energy spectrum partitions 3 and 4, the reserved energy spectrum sections are also energy spectrum partitions 3 and 4.
[0073] In the manner 2, a first preset number of energy spectrum partitions adjacent to at least one of both ends of the labeled energy spectrum section are merged with the labeled energy spectrum section to obtain a reserved energy spectrum section.
[0074] For example, if the first preset number is 1 and the labeled energy spectrum section is energy spectrum partitions 3 and 4, the first preset number of energy spectrum partitions adjacent to the energy spectrum partitions at both ends of the labeled energy spectrum section are energy spectrum partition 2 and energy spectrum partition 5. At this time, the reserved energy spectrum sections are energy spectrum partitions 2 to 5.
[0075] In addition, after the first preset number is set, the energy spectrum partition adjacent to the left end or right end of the labeled energy spectrum section may be merged with the labeled energy spectrum section to obtain a reserved energy spectrum section, or the energy spectrum partition adjacent to the left end and right end of the labeled energy spectrum section may be merged with the labeled energy spectrum section to obtain a reserved energy spectrum section, where the number of energy spectrum partitions merged at the left end and the number of energy spectrum partitions merged at the right end may be the same or different.
[0076] In the third method, a second preset number of channel addresses adjacent to at least one of both ends of the labeled energy spectrum section are merged with the labeled energy spectrum section to obtain a reserved energy spectrum section.
[0077] For example, if the second preset number is 10 and the designated energy spectrum sections are energy spectrum partitions 3 and 4, the 10 channel addresses at the left end of energy spectrum partition 3, energy spectrum partitions 3 to 4, and the 10 channel addresses at the right end of the energy spectrum partition are determined as reserved energy spectrum sections.
[0078] In addition, after the second preset number is set, the channel addresses adjacent to the left end or right end of the labeled energy spectrum section may be merged into the labeled energy spectrum section to obtain a reserved energy spectrum section, or the channel addresses adjacent to the left end and right end of the labeled energy spectrum section may be merged into the labeled energy spectrum section to obtain a reserved energy spectrum section, where the number of channel addresses merged at the left end and the number of channel addresses merged at the right end may be the same or different.
[0079] Furthermore, the first and second preset numbers may be set according to actual usage needs, and the size is not limited in this embodiment.
[0080] In S240, the reserved energy spectral section is partitioned, a plurality of energy spectral partitions corresponding to the reserved energy spectral section are obtained, and the labeled energy spectral section is updated according to the plurality of energy spectral partitions corresponding to the reserved energy spectral section.
[0081] The reserved energy spectrum section is partitioned, and the multiple energy spectrum partitions obtained after partitioning the reserved energy spectrum section are subjected to analysis or combination analysis, etc. According to the analysis result of the multiple energy spectrum partitions, it can be determined to update the new labeled energy spectrum section.
[0082] Preferably, the reserved energy spectrum section can be partitioned in any one of the following ways to obtain a plurality of energy spectrum partitions corresponding to the reserved energy spectrum section.
[0083] In Manner 1, the reserved energy spectrum section is partitioned into at least two energy spectrum partitions according to the total number of channel addresses and the number of channel addresses contained in the preset energy spectrum partition.
[0084] According to actual needs, the number of channel addresses to be included in the energy spectrum partition is preset, and the reserved energy spectrum section is partitioned according to the number of channel addresses and the total number of channel addresses to obtain at least two energy spectrum partitions. If the total number of channel addresses is not an integer multiple of the number of channel addresses included in the preset energy spectrum partition, the remaining channel addresses can be independently made into one energy spectrum partition, or the remaining channel addresses can be added to the last one energy spectrum partition.
[0085] In Manner 2, the reserved energy spectrum section is partitioned into at least two energy spectrum partitions according to the total number of channel addresses and the partition number corresponding to the preset energy spectrum partition.
[0086] According to actual needs, a partition number corresponding to the energy spectrum partition is preset, and the reserved energy spectrum section is divided according to the partition number and the total number of channel addresses to obtain at least two energy spectrum partitions.
[0087] In Manner 3, the reserved energy spectrum section is partitioned into at least two energy spectrum partitions according to the energy spectrum data distribution of the reserved energy spectrum section.
[0088] A distribution state of the energy spectrum data can be determined according to the reserved energy spectrum section, and the reserved energy spectrum section can be divided according to the distribution state, for example, into one energy spectrum region when the count value reaches a preset threshold.
[0089] In method 4, the reserved energy spectrum section is partitioned into at least two energy spectrum partitions based on a preset random algorithm.
[0090] The reserved energy spectrum section can be divided into a random number of energy spectrum partitions based on a preset random algorithm, and the number of channel addresses in each energy spectrum partition is also random.
[0091] In method 5, a repartitioning energy spectrum section is determined according to the number of energy spectrum partitions in the reserved energy spectrum section and the sequence information of the channel address segment corresponding to at least one energy spectrum partition, the repartitioning energy spectrum section is partitioned, and a plurality of energy spectrum partitions corresponding to the reserved energy spectrum section are obtained according to the partitioning result of the repartitioning energy spectrum section.
[0092] The repartitioned energy spectrum section may be a subsequently repartitioned section in the reserved energy spectrum section, and thus the repartitioned energy spectrum section may be the whole or a part of the reserved energy spectrum section. The arrangement information may include a positional relationship of at least one channel address segment in the energy spectrum partition, and the energy spectrum partition to which it belongs, etc.
[0093] After the reserved energy spectrum section is determined, the number of energy spectrum partitions contained in the reserved energy spectrum partition and the arrangement information of the channel address segment in each energy spectrum partition can be determined. If the number of energy spectrum partitions in the reserved energy spectrum section is large, the middle area of the reserved energy spectrum section is considered to be a region that is not repartitioned, and is not partitioned for the time being. In this case, the repartitioning energy spectrum section other than the middle area can be determined according to the arrangement information of the channel address segment. If the number of energy spectrum partitions in the reserved energy spectrum section is small, all the reserved energy spectrum sections are considered to be repartitioning energy spectrum sections. The repartitioning energy spectrum section is partitioned to obtain a plurality of energy spectrum partitions corresponding to the reserved energy spectrum section.
[0094] Preferably, the repartitioning energy spectral section can be determined in a manner that if the total number of energy spectral partitions included in the reserved energy spectral section does not reach a first preset number threshold, the reserved energy spectral section becomes the repartitioning energy spectral section.
[0095] If the total number of energy spectral partitions included in the reserved energy spectral sections does not reach the first preset number threshold, it indicates that there are few energy spectral partitions in the current reserved energy spectral sections, and the entire reserved energy spectral sections may be the repartitioned energy spectral sections.
[0096] For example, if the first preset number threshold is 5, the reserved energy spectral section includes energy spectral partitions 4 to 7, and the total number of energy spectral partitions is 4, which is less than the first preset number threshold of 5, then the reserved energy spectral section is the repartitioned energy spectral section, i.e., the energy spectral partitions 4 to 7 are the repartitioned energy spectral section.
[0097] If the total number of energy spectral partitions included in the reserved energy spectral section reaches a second preset number threshold, an energy spectral section consisting of a sixth preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section is set as a repartitioned energy spectral section.
[0098] If the total number of energy spectral partitions included in the reserved energy spectral section reaches the second preset number threshold, it indicates that there are many energy spectral partitions in the current reserved energy spectral section, and if the reserved energy spectral section is directly used as the repartitioned energy spectral section, the energy spectral partitions included in each energy spectral section after repartitioning are many, which results in a large amount of calculation. Therefore, the energy spectral section consisting of the sixth preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section is used as the repartitioned energy spectral section for subsequent repartitioning, and the remaining part is reserved without subsequent repartitioning or is merged into one partition.
[0099] In addition, after the sixth preset number is set, an energy spectrum section consisting of at least one energy spectrum partition located at the left end or right end of the reserved energy spectrum section may be a repartitioning energy spectrum section, or an energy spectrum section consisting of at least one energy spectrum partition located at the left end and the right end of the reserved energy spectrum section may be a repartitioning energy spectrum section, among which, the number of energy spectrum partitions determined from the left end and the number of energy spectrum partitions determined from the right end may be the same or different.
[0100] For example, the energy spectrum partitions in the reserved energy spectrum section are 4 to 10, the second preset number threshold is 5, the sixth preset number corresponding to the left end of the reserved energy spectrum section is 2, and the sixth preset number corresponding to the right end of the reserved energy spectrum section is 3. At this time, the total number of energy spectrum partitions, 7, reaches the second preset number threshold of 5, so the two energy spectrum partitions located at the left end of the reserved energy spectrum section and the three energy spectrum partitions located at the right end, i.e., energy spectrum partitions 4 to 5 and energy spectrum partitions 8 to 10, are set as repartitioned energy spectrum sections.
[0101] In addition, the first preset number threshold may be smaller than or equal to the second preset number threshold. If the first preset number threshold is smaller than the second preset number threshold, when the total number of energy spectrum partitions included in the reserved energy spectrum section reaches the first preset number threshold but does not reach the second preset number threshold, any one manner can be adopted to determine the repartitioning energy spectrum section, and is not limited in this embodiment.
[0102] Preferably, the labeled energy spectral section can be updated according to a plurality of energy spectral partitions corresponding to the reserved energy spectral section by the following steps.
[0103] In step 1, traverse a combination of a plurality of energy spectrum partitions in a reserved energy spectrum section to obtain at least one combined energy spectrum section.
[0104] A combined energy spectrum section is obtained by combining two or more consecutively arranged energy spectrum partitions.
[0105] Any two or more energy spectral partitions in the reserved energy spectral section can be combined together, and a combination of a plurality of adjacent energy spectral partitions is selected as a combined energy spectral section.
[0106] Exemplarily, if the reserved energy spectrum section includes energy spectrum partitions 1-4, the combined energy spectrum section includes energy spectrum partitions 1-2, 1-3, 1-4, 2-3, 2-4, and 3-4.
[0107] In step 2, the labeled energy spectrum section is updated according to the window positioning indexes of the plurality of energy spectrum partitions and the plurality of combined energy spectrum sections.
[0108] For each energy spectrum partition and each combined energy spectrum section, a window positioning index is calculated respectively, and the multiple window positioning indexes are compared, and according to the comparison result, the energy spectrum partition or combined energy spectrum section corresponding to the optimal window positioning index can be determined as the new mark energy spectrum section.
[0109] For example, partitioning the repartitioned energy spectrum section may mean equally dividing all energy spectrum partitions in the repartitioned energy spectrum section whose partition width (number of channel addresses) is not 1 into two energy spectrum partitions, or two energy spectrum partitions whose difference in number of channel addresses is 1.
[0110] In S250, if the preset partitioning end condition is satisfied, the updated labeled energy spectrum section is set as the target counting window of the energy spectrum to be processed, and if the preset partitioning end condition is not satisfied, the process returns to the execution of S230.
[0111] The preset partitioning end condition may be a condition for determining the end of repartitioning, which is set in advance. The target count window may be a channel address region in which contributing counts are concentrated in the energy spectrum of the radioisotope to be finally determined.
[0112] If the preset partitioning termination condition is met, then the partitioning and calculation iterations can be stopped, indicating that the marked energy spectrum section in the current reserved energy spectrum section can be made the target counting window of the pending energy spectrum.
[0113] Preferably, the preset partitioning end condition may be any one of the following:
[0114] The first is that the number of channel addresses included in the energy spectrum partition other than the designated energy spectrum section in the reserved energy spectrum section reaches a first preset channel address number threshold.
[0115] The first preset channel address number threshold may be a channel address number for determining whether an energy spectrum partition other than the labeled energy spectrum section can be further divided, and the first preset channel address number threshold is usually 1, and may be set according to actual needs.
[0116] Exemplarily, the first preset channel address number threshold is 2, and if the number of channel addresses included in the energy spectrum partition other than the designated energy spectrum section in the reserved energy spectrum section is 1 or 2, it indicates that the preset partitioning termination condition has been met.
[0117] Second, the number of updates of the labeled energy spectrum section reaches a preset number threshold.
[0118] The preset number threshold may be a number for judging whether the update iteration number of the labeled energy spectrum section meets the needs, and the number may be set according to the actual needs.
[0119] For example, the number of update iterations is 8, and if the current energy spectrum section is updated for the eighth time, it indicates that the preset partitioning end condition has been met.
[0120] Third, when the labeled energy spectrum section is continuously updated a preset number of times, the change in the window positioning index of the labeled energy spectrum section after each update does not exceed a preset change amount.
[0121] The preset number of times to be continuously updated may be a preset number of times of updates that is a condition for implementing a third preset partitioning end condition. The preset change ratio may be a ratio for determining whether the change situation of the window positioning index is sufficiently large. Note that, the change of the window positioning index may be a relative change amount of the window positioning index in two updates, or an absolute change amount of the window positioning index in two updates.
[0122] For example, if the preset number of consecutive updates is 3, the preset change ratio is 1%, and the current update number is 3, the change ratio of the window positioning index between the third update and the second update is 5%, and the preset partitioning condition is not met, so the next update is performed. If the change ratio of the window positioning index between the fourth update and the third update, the change ratio of the window positioning index between the fifth update and the fourth update, and the change ratio of the window positioning index between the sixth update and the fifth update are all less than 1%, the preset partitioning end condition is met.
[0123] Fourth, the window positioning index of the labeled energy spectrum section is better than a preset window positioning index threshold.
[0124] The preset window positioning index threshold may be a numerical value that determines whether the window positioning index meets the needs.
[0125] For example, the preset window positioning index threshold is a, the larger the window positioning index, the better, and in the current iteration, the window positioning index of the labeled energy spectrum section is b, and if b>a, the preset partitioning condition is met, and if b≦a, the preset partitioning termination condition is not met.
[0126] If the preset partitioning termination condition is not met, a repartitioning process needs to be performed on the reserved energy spectrum section, and then the process returns to the execution of the operation of determining the reserved energy spectrum section according to the target energy spectrum section, so as to subsequently partition and re-determine the target counting window.
[0127] The technical aspects of the embodiment of the present application include: obtaining a pending energy spectrum; dividing the pending energy spectrum into at least two energy spectrum partitions according to channel addresses to perform preliminary partitioning of the pending energy spectrum; determining at least one candidate energy spectrum section according to the at least two energy spectrum partitions; determining a window positioning index for each candidate energy spectrum section; determining a target energy spectrum section from the at least one candidate energy spectrum section according to the window positioning index of the at least one candidate energy spectrum section; preliminary selecting a counting window; determining a reserved energy spectrum section according to the target energy spectrum section; The present invention partitions a vector section, obtains a plurality of energy spectrum partitions corresponding to the reserved energy spectrum section, and updates the labeled energy spectrum section according to the plurality of energy spectrum partitions corresponding to the reserved energy spectrum section. If the preset partitioning termination condition is met, the labeled energy spectrum section is set as the target counting window of the energy spectrum to be processed. If the preset partitioning termination condition is not met, the process returns to performing the operation of determining the reserved energy spectrum section according to the labeled energy spectrum section, thereby solving the problem of low calculation efficiency and low practicality in determining the counting window, and achieving the technical effects of automatically positioning the counting window of the energy spectrum, reducing the time complexity, and improving the practicality.
[0128] Example 3 FIG. 3 is a flow diagram of an energy spectrum counting window positioning method according to the third embodiment of the present application. Based on the above embodiment, the present embodiment can refer to the technical aspects of the present embodiment for the specific embodiment of updating the label energy spectrum section. The interpretation of the same or corresponding terms in the above embodiments will not be repeated here. As shown in FIG. 3, the method includes the following steps: Specifically, step S240 in the second embodiment includes steps S340, S350, and S360 in the third embodiment.
[0129] In S310, a pending energy spectrum is obtained, the pending energy spectrum is partitioned into at least two energy spectrum partitions according to a channel address, and at least one candidate energy spectrum section is determined according to the at least two energy spectrum partitions.
[0130] In S320, a window positioning index for each candidate energy spectral section is determined, and a title energy spectral section is determined from the at least one candidate energy spectral section according to the window positioning index of the at least one candidate energy spectral section.
[0131] In S330, a reserved energy spectrum section is determined according to the labeled energy spectrum section.
[0132] In S340, a reference energy spectrum section is determined according to the reserved energy spectrum section, and at least one rearranged energy spectrum section is determined according to the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section.
[0133] If the window positioning index of at least one of all the rearranged energy spectral sections is superior to the window positioning index of the reference energy spectral section, execute S360, and after completing execution of S360, continue to execute S340; if none of the window positioning indexes of all the rearranged energy spectral sections is superior to the window positioning index of the reference energy spectral section, execute S350.
[0134] The reference energy spectrum section may be an energy spectrum section as a reference for subsequent analysis. The recombined energy spectrum section may be an energy spectrum section obtained by a different combination of the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section.
[0135] Among the multiple energy spectral partitions of the reserved energy spectral section, an energy spectral partition whose window positioning index satisfies a preset reference condition may be determined as a reference energy spectral section, or it may be determined whether the number of energy spectral partitions in the subject energy spectral section is greater than a preset partition number threshold, and if the number of energy spectral partitions is greater than the preset partition number threshold, a certain number of energy spectral partitions located at both ends of the reserved energy spectral section may be removed and the remaining part may be determined as a reference energy spectral section, or the entire reserved energy spectral section may be set as a reference energy spectral section. At least one rearranged energy spectral section may be obtained by combining the reference energy spectral section and the energy spectral partitions adjacent to both ends of the reference energy spectral section (left end, right end, and both left and right end energy spectral partitions), or at least one rearranged energy spectral section may be obtained by removing the energy spectral partitions located at both ends of the reference energy spectral section in the reference energy spectral section (left end, right end, and both left and right end energy spectral partitions).
[0136] Preferably, the reference energy spectrum section and at least one recombined energy spectrum section can be determined by the following steps:
[0137] In step 1, window positioning indexes of multiple energy spectral partitions of a reserved energy spectral section are determined, and an energy spectral partition whose window positioning index satisfies a preset reference condition is taken as a reference energy spectral section; or if the number of energy spectral partitions in the reference energy spectral section is greater than a preset partition number threshold, a third preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section are removed from the reserved energy spectral section to obtain a reference energy spectral section.
[0138] The preset reference condition may be a condition corresponding to a preset window positioning index, for example, the window positioning index is the largest, the window positioning index reaches a preset threshold, etc. The preset partition number threshold may be a preset numerical value for determining whether the partition number meets the need for removing the energy spectrum section.
[0139] The window positioning indexes of the plurality of energy spectral partitions of the reserved energy spectral section may be calculated, and the window positioning indexes of the plurality of energy spectral partitions may be determined to satisfy a preset reference condition, so that the energy spectral partitions that satisfy the preset reference condition are set as the reference energy spectral section. If the number of energy spectral partitions of the reference energy spectral section is greater than a preset partition number threshold, a third preset number of energy spectral partitions located at least at one end of the reserved energy spectral section may be removed from the reserved energy spectral section, and the remaining part may be set as the reference energy spectral partition.
[0140] In addition, after the third preset number is set, the energy spectral partitions located at the left end or right end of the reserved energy spectral section may be removed from the reserved energy spectral section to obtain a reference energy spectral section, or the energy spectral partitions located at the left end and right end of the reserved energy spectral section may be removed from the reserved energy spectral section to obtain a reference energy spectral section, and the number of energy spectral partitions removed at the left end and the number of energy spectral partitions removed at the right end may be the same or different.
[0141] In step 2, an energy spectrum section to be combined is determined according to a fourth preset number of energy spectrum partitions adjacent to at least one of both ends of the reference energy spectrum section, and the reference energy spectrum section and the energy spectrum section to be combined are merged to obtain at least one recombined energy spectrum section.
[0142] The energy spectrum section to be combined may be a fourth preset number of energy spectrum partitions adjacent to the reference energy spectrum section.
[0143] The fourth preset number of energy spectrum partitions other than the reference energy spectrum section, adjacent to the reference energy spectrum section, and located at at least one of both ends of the reference energy spectrum section are energy spectrum sections to be combined. The reference energy spectrum section and at least one energy spectrum section to be combined are combined to obtain at least one recombined energy spectrum section.
[0144] In addition, after the fourth preset number is set, the energy spectrum sections waiting to be combined may be determined according to the energy spectrum partitions adjacent to the left end or the right end of the reference energy spectrum section, or the energy spectrum sections waiting to be combined may be determined according to the energy spectrum partitions adjacent to the left end and the right end of the reference energy spectrum section, among which, the number of energy spectrum partitions determined at the left end and the number of energy spectrum partitions determined at the right end may be the same or different.
[0145] Preferably, the reference energy spectrum section and at least one recombined energy spectrum section may be determined in the following manner.
[0146] The reserved energy spectrum section is taken as a reference energy spectrum section, and an energy spectrum section waiting to be removed is determined according to a fifth preset number of energy spectrum partitions located at least at one of both ends of the reference energy spectrum section, and the energy spectrum section waiting to be removed in the reference energy spectrum section is removed to obtain at least one rearranged energy spectrum section.
[0147] The energy spectrum section awaiting removal may be a fifth preset number of energy spectrum partitions located at at least one of both ends in the reference energy spectrum section.
[0148] The reserved energy spectrum section is a reference energy spectrum section, a fifth preset number of energy spectrum partitions located at at least one of both ends in the reference energy spectrum section are energy spectrum sections waiting to be removed, and at least one energy spectrum section waiting to be removed is removed from the reference energy spectrum section to obtain at least one rearranged energy spectrum section.
[0149] In addition, after the fifth preset number is set, the energy spectrum sections waiting to be removed may be determined according to the energy spectrum partitions located at the left end or the right end of the reference energy spectrum section, or the energy spectrum sections waiting to be removed may be determined according to the energy spectrum partitions located at the left end and the right end of the reference energy spectrum section, among which, the number of energy spectrum partitions determined at the left end and the number of energy spectrum partitions determined at the right end may be the same or different.
[0150] If the window positioning index of the rearranged energy spectral section is better than the window positioning index of the reference energy spectral section, it indicates that the window effect of the rearranged energy spectral section is better than the reference energy spectral section, so update the rearranged energy spectral section with the optimal window positioning index as the reference energy spectral section, and return to the execution of the operation of determining at least one rearranged energy spectral section according to the reference energy spectral section and the energy spectral partitions located at both ends of the reference energy spectral section to determine whether the current reference energy spectral section is optimal; if none of the window positioning indexes of the rearranged energy spectral sections are better than the window positioning index of the reference energy spectral section, it indicates that the window effect of the reference energy spectral section is better than the rearranged energy spectral section, and there is no need to update, and at this time, the reference energy spectral section can be the designated energy spectral section.
[0151] In S350, the reference energy spectrum section is set as the labeled energy spectrum section.
[0152] In S360, the recombined energy spectrum section with the optimal window positioning index is updated as the reference energy spectrum section.
[0153] In S370, if the preset partitioning end condition is satisfied, the updated labeled energy spectrum section is set as the target counting window of the energy spectrum to be processed, and if the preset partitioning end condition is not satisfied, the process returns to the execution of S330.
[0154] Preferably, the target count window can be determined in the following manner.
[0155] If the difference between the number of channel addresses of the energy spectrum partition in the rearranged energy spectrum section and the number of channel addresses of the energy spectrum partition in the reference energy spectrum section does not exceed a preset difference threshold, the updated reference energy spectrum section is set as the target counting window of the energy spectrum to be processed.
[0156] The preset difference value threshold can be used to determine whether it is necessary to go back to comparing and determining anew the magnitudes of the energy spectral partitions in the recombined energy spectral section and the energy spectral partitions in the reference energy spectral section.
[0157] First, calculate the number of channel addresses of the energy spectral partition in the rearranged energy spectral section and the number of channel addresses of the energy spectral partition in the reference energy spectral section, and compare the difference between the two with a preset difference threshold value. If the difference value does not exceed the preset difference threshold value, it indicates that the difference in the number of channel addresses between the rearranged energy spectral section and the reference energy spectral section is small, and there is no need to go back to the operation of determining the reserved energy spectral section again, and the labeled energy spectral section can be directly used as the target counting window of the energy spectrum to be processed.
[0158] The technical aspects of the embodiment of the present application include: obtaining an energy spectrum to be processed; dividing the energy spectrum to be processed into at least two energy spectrum partitions according to channel addresses to perform preliminary partitioning of the energy spectrum to be processed; determining at least one candidate energy spectrum section according to the at least two energy spectrum partitions; determining a window positioning index of each candidate energy spectrum section; determining a target energy spectrum section from the at least one candidate energy spectrum section according to the window positioning index of the at least one candidate energy spectrum section to preliminary select a counting window; determining a reserved energy spectrum section according to the target energy spectrum section; determining a reference energy spectrum section according to the reserved energy spectrum section; determining at least one rearranged energy spectrum section according to the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section; and If the window positioning index of at least one of the recombined energy spectrum sections among all the recombined energy spectrum sections is superior to the window positioning index of the reference energy spectrum section, update the recombined energy spectrum section with the best window positioning index as the reference energy spectrum section, and return to the execution of the operation of determining at least one recombined energy spectrum section according to the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section; if the window positioning indexes of all the recombined energy spectrum sections are not superior to the window positioning indexes of the reference energy spectrum section, update and determine the reference energy spectrum section as the label energy spectrum section; if the window positioning indexes of at least one of the recombined energy spectrum sections among all the recombined energy spectrum sections are superior to the window positioning index of the reference energy spectrum section,Update the rearranged energy spectrum section with the best window positioning index as the reference energy spectrum section, and return to the operation of determining at least one rearranged energy spectrum section according to the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section. If the window positioning indexes of all rearranged energy spectrum sections are not superior to the window positioning index of the reference energy spectrum section, the reference energy spectrum section is the label energy spectrum section, thereby solving the problem of low calculation efficiency and low practicality when determining the counting window, and achieving the technical effect of automatically positioning the counting window of the energy spectrum, reducing the time complexity and improving the practicality.
[0159] Example 4 Before introducing the technical aspects of the embodiments of the present application, a technical background will first be introduced.
[0160] The gamma and alpha rays emitted from radioisotopes are single energy or multiple single energy, and the gamma ray energy spectrum measured by gamma spectrometer and the alpha ray energy spectrum measured by alpha spectrometer generally approximate a sharp normal distribution counting peak, and there are already mature algorithms in the industry to automatically find the position of the counting peak and its boundary as the counting window of the corresponding isotope. However, for the energy spectrum measured by liquid scintillation counter, there is still no good counting window automatic positioning method in the industry. This is mainly because liquid scintillation counter is often used to measure beta rays, which are a continuous spectrum of energy, and there is often a quenching effect during the measurement of liquid scintillation counter, so there are different degrees of deformation and shift in the energy spectrum, and the measured energy spectrum is usually not only not a sharp normal distribution but is flat, so that the existing automatic peak search technology cannot continue to be used.
[0161] Regarding the problem of optimal selection of the counting interval of the measurement energy spectrum of a liquid scintillation counter, the academic community has put forward the figure of merit (FOM) optimization principle, which states that, among all candidate counting windows, the window with the optimal FOM value is selected as the optimally selected counting window, and the FOM value is usually defined as the quotient of the square of the detection efficiency and the background count rate, and the larger the value, the better. However, as a guiding principle, the figure of merit optimization principle lacks a realization method. One easily conceived method is to traverse all possible counting windows and compare the magnitudes of their corresponding figures of merit to realize the optimal selection of the counting window, but this method is too inefficient to be practical. Up until now, in the industrial world, all liquid scintillation counter manufacturers have been using several kinds of commonly found isotopes (e.g. 3 H, 14 C. 32 The counting window has been preset under certain conditions (e.g., when the quenching effect can be overlooked) of 1000 kcal / s (P). If the isotope to be measured is not within the preset range or the energy spectrum is significantly changed by quenching, the instrument cannot provide a proper counting window, making it difficult to analyze the energy spectrum.
[0162] The fourth embodiment of the present application provides a method for positioning an energy spectrum counting window. The interpretation of the same or corresponding terms as those in the above embodiments will not be repeated here. Example 4 shows a specific example of a method for positioning the energy spectrum counting window in the above-mentioned examples. The method for positioning an energy spectrum counting window according to the fourth embodiment of the present application includes the following steps.
[0163] a) The to-be-processed energy spectrum is divided into a number of partitions (eg, 8-15 consecutive partitions, i.e., energy spectrum partitions) according to channel addresses.
[0164] Note that the energy spectrum width is L, that is, the total number of channel addresses included in the energy spectrum to be processed is L, and L is 2 k≦L<2 k+1 Assuming that the above condition is satisfied, the partition width is 2 k-3 If there are any remaining channel addresses that are not included in a partition, they are incorporated into the last partition. If the energy spectrum width is smaller than 8, each energy spectrum region with an energy spectrum width of 1 is considered as one energy spectrum partition.
[0165] For example, the energy spectrum to be processed has an energy spectrum width of 256 (256=2 8 Therefore, in this case, k=8, each partition width is 32 (2 5 =32), which is divided into a total of 8 partitions.
[0166] b) Each partition itself is taken as a candidate energy spectral section, and their window positioning indexes are calculated, and the candidate energy spectral section with the largest window positioning index is taken as the reference energy spectral section.
[0167] The window positioning index F is JPEG0007689204000009.jpg1764, and the larger the window positioning index, the better. Wherein, F(R) is the window positioning index of the energy spectrum section R, i is the channel address number in the candidate energy spectrum section R, and N i is the sample measurement spectrum count corresponding to channel address i, and B i is the background measurement spectral count corresponding to channel address i, and T S is the measurement live time of the sample measurement spectrum, and T B is the measurement live time of the background measurement spectrum.
[0168] c) According to the reference energy spectrum section, determine three recombined energy spectrum sections, including (i) the section obtained by merging the reference energy spectrum section with its left adjacent partition, (ii) the section obtained by merging the reference energy spectrum section with its right adjacent partition, and (iii) the section obtained by merging the reference energy spectrum section with its both adjacent partitions (reference energy spectrum section and recombined energy spectrum section all belong to candidate energy spectrum section). If the window positioning index of the recombined energy spectrum section is better than the window positioning index of the reference energy spectrum section, update the recombined energy spectrum section with the best window positioning index as the reference energy spectrum section, and repeat step c); if none of the window positioning indexes of the recombined energy spectrum section are better than the window positioning index of the reference energy spectrum section, perform step d).
[0169] d) The reference energy spectrum section is the labeled energy spectrum section.
[0170] e) determining a reserved energy spectral section according to the labeled energy spectral section, repartitioning the reserved energy spectral section, and updating the labeled energy spectral section according to the repartitioned partition;
[0171] e.1) If the labeled energy spectral section contains only two or less partitions, merge the labeled energy spectral section and two adjacent partitions outside the labeled energy spectral section into a reserved energy spectral section, refer to step a) to repartition the reserved energy spectral section into 8 to 15 consecutive partitions, and then perform steps b) to d) to update the labeled energy spectral section.
[0172] e.2) if the labeled energy spectrum section includes three or more partitions, a section consisting of the following three sections is defined as the retained energy spectrum section: (i) the energy spectrum section remaining after removing the leftmost partition and the rightmost partition in the labeled energy spectrum section; (ii) the energy spectrum section obtained by merging the leftmost partition in the labeled energy spectrum section with the leftmost partition outside the labeled energy spectrum section; and (iii) the energy spectrum section obtained by merging the rightmost partition in the labeled energy spectrum section with the rightmost partition outside the labeled energy spectrum section; The method of partitioning the reserved energy spectrum section is to merge the energy spectrum section (i) into one partition, and divide the energy spectrum section (ii) and the energy spectrum section (iii) into 4 to 7 consecutive partitions (each partition width is 2 k-2 −2), and then the partition obtained by merging the energy spectrum sections (i) is used as the reference energy spectrum section, and steps c) to d) are performed to update the reference energy spectrum section.
[0173] f) Repeat step e) until e.1) a preset partitioning end condition that the partition width of the reserved energy spectrum section is 1, or e.2) a preset partitioning end condition that the partition width of the energy spectrum section (ii) and energy spectrum section (iii) in the reserved energy spectrum section is 1 is satisfied, and the target counting window of the energy spectrum to be processed is determined.
[0174] The following example illustrates the process of determining a target count window in accordance with an embodiment of the present application.
[0175] FIG. 4 is a schematic diagram of the energy spectrum to be processed, which displays the measured energy spectrum to be automatically positioned for counting window, in which the thick line represents the sample measured spectrum and the thin line represents the background measured spectrum.
[0176] FIG. 5 is a schematic diagram of the energy spectrum of the first partitioning. As shown in FIG. 5, the entire energy spectrum is divided into eight equal-width partitions according to the channel addresses, and each partition width is 32.
[0177] Table 2 shows the boundary channel addresses of each partition and their window positioning indexes during the first partitioning, among which the second partition has the largest window positioning index of 0.4232 and is determined as the initial reference energy spectrum section.
[0178] JPEG0007689204000010.jpg71170
[0179] Table 3 shows the updating process of the labelled energy spectrum section during the first partitioning, in which the labelled energy spectrum section is represented by the partition number. For example, the energy spectrum section 2 represents the energy spectrum section that is solely composed of the partition 2, and the energy spectrum sections 1-3 represent the energy spectrum sections that are jointly composed of the partitions 1, 2 and 3. Previously, the partition 2 has already been determined as the initial reference energy spectrum section, and then the window positioning indexes of the energy spectrum sections 2, 1-2, 2-3 and 1-3 are calculated, among which the energy spectrum sections 1-3 have the largest window positioning index, so the reference energy spectrum section is updated to the energy spectrum sections 1-3, and then the window positioning indexes of the energy spectrum sections 1-3 and 1-4 are calculated (the section obtained by merging with the partition adjacent to the left side is not considered because the partition 1 is already the leftmost partition), and the energy spectrum sections 1-3 still have the largest window positioning index, so the first partitioning energy spectrum sections 1-3 are the final reference energy spectrum sections and are updated as labelled energy spectrum sections. Tables 5, 7, 9, 11, and 13 sequentially show the updating process of the reference energy spectrum section after each subsequent partitioning.
[0180] JPEG0007689204000011.jpg36170
[0181] Next, Fig. 6 is a schematic diagram of the energy spectrum of the second partitioning. In the first partitioning, since it is determined that the energy spectrum sections 1 to 3 are the labeled energy spectrum sections and include three partitions, partitioning is performed according to e.2), and the original energy spectrum section 1 (channel addresses 1 to 32) is partitioned into four partitions, the original energy spectrum section 2 (channel addresses 33 to 64) is partitioned into one partition, which is the initial reference energy spectrum section, and the original energy spectrum sections 3 to 4 (channel addresses 65 to 128) are partitioned into four partitions.
[0182] Table 4 shows the boundary channel addresses of each partition and their window positioning indexes during the second partitioning.
[0183] JPEG0007689204000012.jpg77170
[0184] Table 5 shows the updating process of the labeled energy spectrum sections during the second partitioning. Previously, partition 5 has already been determined as the initial reference energy spectrum section, and then the second partitioning energy spectrum sections 2 to 6 are determined as the final reference energy spectrum sections and updated as the labeled energy spectrum sections.
[0185] JPEG0007689204000013.jpg46170
[0186] Next, Fig. 7 is a schematic diagram of the energy spectrum of the third partitioning. Since it is determined that the energy spectrum sections 2 to 6 are the labeled energy spectrum sections and include five partitions, the second partitioning is performed according to e.2), and the original energy spectrum sections 1 to 2 (channel addresses 1 to 16) are partitioned into four partitions, the original energy spectrum sections 3 to 5 (channel addresses 17 to 64) are partitioned into one partition, which is the initial reference energy spectrum section, and the original energy spectrum sections 6 to 7 (channel addresses 65 to 96) are partitioned into four partitions.
[0187] Table 6 shows the boundary channel addresses of each partition and their window positioning indexes during the third partitioning.
[0188] JPEG0007689204000014.jpg75170
[0189] Table 7 shows the updating process of the labeled energy spectrum sections during the third partitioning. Previously, partition 5 has already been determined as the initial reference energy spectrum section, and then the third partitioning energy spectrum sections 3 to 7 are determined as the final reference energy spectrum sections and updated as the labeled energy spectrum sections.
[0190] JPEG0007689204000015.jpg40170
[0191] Next, Fig. 8 is a schematic diagram of the energy spectrum of the fourth partitioning. Since the third partitioning is determined to include five partitions, the energy spectrum sections 3 to 7 are the labeled energy spectrum sections, and the partitioning is performed according to e.2), and the original energy spectrum sections 2 to 3 (channel addresses 5 to 12) are partitioned into four partitions, the original energy spectrum sections 4 to 6 (channel addresses 13 to 72) are partitioned into one partition, which is the initial reference energy spectrum section, and the original energy spectrum sections 7 to 8 (channel addresses 73 to 88) are partitioned into four partitions.
[0192] Table 8 shows the boundary channel addresses of each partition and their window positioning indexes during the fourth partitioning.
[0193] JPEG0007689204000016.jpg76170
[0194] Table 9 shows the updating process of the labeled energy spectrum sections during the fourth partitioning, in which partition 5 has already been determined as the initial reference energy spectrum section before, and then the fourth partitioning energy spectrum sections 2 to 8 are determined as the final reference energy spectrum sections and updated as the labeled energy spectrum sections.
[0195] JPEG0007689204000017.jpg46170
[0196] Next, Fig. 9 is a schematic diagram of the energy spectrum of the fifth partitioning. Since the fourth partitioning is determined to include seven partitions, energy spectrum sections 2 to 8 are the labeled energy spectrum sections, and partitioning is performed according to e.2), and the original energy spectrum sections 1 to 2 (channel addresses 5 to 8) are partitioned into four partitions, the original energy spectrum sections 3 to 7 (channel addresses 9 to 80) are partitioned into one partition, which is the initial reference energy spectrum section, and the original energy spectrum sections 8 to 9 (channel addresses 81 to 88) are partitioned into four partitions.
[0197] Table 10 shows the boundary channel addresses of each partition and their window positioning indexes during the fifth partitioning.
[0198] JPEG0007689204000018.jpg77170
[0199] Table 11 shows the updating process of the labeled energy spectrum sections during the fifth partitioning, in which partition 5 has already been determined as the initial reference energy spectrum section before, and then the fifth partitioning energy spectrum sections 4 to 7 are determined as the final reference energy spectrum sections and updated as the labeled energy spectrum sections.
[0200] JPEG0007689204000019.jpg41170
[0201] Next, Fig. 10 is a schematic diagram of the energy spectrum of the sixth partitioning. In the fifth partitioning, since it is determined that the energy spectrum sections 4 to 7 are the labeled energy spectrum sections and include four partitions, the partitioning is performed according to e.2), and the original energy spectrum sections 3 to 4 (channel addresses 7 to 8) have a partition width of 1 and do not need to be partitioned, the original energy spectrum sections 5 to 6 (channel addresses 9 to 82) are partitioned into one partition and are set as the initial reference energy spectrum sections, and the original energy spectrum sections 7 to 8 (channel addresses 83 to 86) are partitioned into four partitions.
[0202] Table 12 shows the boundary channel addresses of each partition and their window positioning indexes during the sixth partitioning.
[0203] JPEG0007689204000020.jpg64170
[0204] Table 13 shows the updating process of the labeled energy spectrum sections during the sixth partitioning, in which partition 3 has already been determined as the initial reference energy spectrum section before, and then the sixth partitioning energy spectrum sections 2 to 5 are determined as the final reference energy spectrum sections and updated as the labeled energy spectrum sections.
[0205] JPEG0007689204000021.jpg40170
[0206] Since the sixth partitioning satisfies the preset partitioning end condition, the labeled energy spectrum sections 2 to 5 (channel addresses 8 to 84) of this partitioning are taken as the target counting window.
[0207] The technical aspect of the embodiment of the present application is to partition the energy spectrum to be processed into at least two energy spectrum partitions according to a channel address, respectively determine each energy spectrum partition as a candidate energy spectrum section, determine a label energy spectrum section according to the window positioning index of a plurality of candidate energy spectrum sections, extend the label energy spectrum section to a new candidate energy spectrum section, and update the label energy spectrum section according to the window positioning index, determine a reserved energy spectrum section according to the label energy spectrum section until the label energy spectrum section does not change, repartition the reserved energy spectrum section, and update the label energy spectrum section according to the repartitioned partition, and when the preset partitioning termination condition is met, the updated label energy spectrum section is set as the target counting window of the energy spectrum to be processed, thereby solving the problem of low calculation efficiency and low practicality when determining the counting window, and achieving the technical effects of automatically positioning the counting window of the radioactive energy spectrum, reducing time complexity, and improving practicality.
[0208] Example 5 11 is a structural schematic diagram of an energy spectrum counting window device according to embodiment 5 of the present application. As shown in FIG. 11, the device includes: an energy spectrum partition module 710, an energy spectrum section marking module 720 and a counting window determining module 730.
[0209] The energy spectrum partition module 710 is configured to obtain a pending energy spectrum, partition the pending energy spectrum into at least two energy spectrum partitions according to a channel address, and determine at least one candidate energy spectrum section, each including at least one energy spectrum partition, according to the at least two energy spectrum partitions; the energy spectrum section marking module 720 is configured to determine a window positioning index for each candidate energy spectrum section, and determine a mark energy spectrum section from the at least one candidate energy spectrum section according to the window positioning index of the at least one candidate energy spectrum section; and the counting window determination module 730 is configured to determine a target counting window of the pending energy spectrum according to the mark energy spectrum section.
[0210] Preferably, the counting window determination module 730 is configured to determine a reserved energy spectral section according to the marked energy spectral section, partition the reserved energy spectral section, obtain a plurality of energy spectral partitions corresponding to the reserved energy spectral section, update the marked energy spectral section according to the plurality of energy spectral partitions corresponding to the reserved energy spectral section, and if a preset partitioning termination condition is satisfied, set the updated marked energy spectral section as a target counting window of the energy spectrum to be processed; if a preset partitioning termination condition is not satisfied, return to performing the operation of determining a reserved energy spectral section according to the marked energy spectral section.
[0211] Preferably, the counting window determination module 730 is configured to determine the marked energy spectral section as a reserved energy spectral section, or to merge a first preset number of energy spectral partitions adjacent to at least one of both ends of the marked energy spectral section with the marked energy spectral section to obtain a reserved energy spectral section, or to merge a second preset number of channel addresses adjacent to at least one of both ends of the marked energy spectral section with the marked energy spectral section to obtain a reserved energy spectral section.
[0212] Preferably, the counting window determination module 730 is further configured to determine a reference energy spectral section according to the reserved energy spectral section, determine at least one recombined energy spectral section according to the reference energy spectral section and the energy spectral partitions located at both ends of the reference energy spectral section, and if the window positioning index of the at least one recombined energy spectral section is superior to the window positioning index of the reference energy spectral section, update the recombined energy spectral section with the most suitable window positioning index as the reference energy spectral section, and return to performing the operation of determining at least one recombined energy spectral section according to the reference energy spectral section and the energy spectral partitions located at both ends of the reference energy spectral section, and if the window positioning index of the at least one recombined energy spectral section is not superior to the window positioning index of the reference energy spectral section, the reference energy spectral section is the target energy spectral section.
[0213] Preferably, the counting window determination module 730 is configured to determine window positioning indexes of a plurality of energy spectral partitions of the reserved energy spectral section, and an energy spectral partition whose window positioning index satisfies a preset reference condition is a reference energy spectral section; or if the number of energy spectral partitions in the target energy spectral section is greater than a preset partition number threshold, remove a third preset number of energy spectral partitions located at at least one end of the reserved energy spectral section from the reserved energy spectral section to obtain a reference energy spectral section; determine an energy spectral section to be combined according to a fourth preset number of energy spectral partitions adjacent to at least one end of the reference energy spectral section; and merge the reference energy spectral section and the energy spectral section to be combined to obtain at least one recombined energy spectral section.
[0214] Preferably, the counting window determination module 730 is configured to take the reserved energy spectral section as a reference energy spectral section, determine an energy spectral section waiting to be removed according to a fifth preset number of energy spectral partitions located at least one of both ends of the reference energy spectral section, remove the energy spectral section waiting to be removed in the reference energy spectral section, and obtain at least one rearranged energy spectral section.
[0215] Preferably, the device further comprises a judgment module configured to set the target energy spectrum section as a target counting window of the energy spectrum to be processed if a difference value between the channel address number of the energy spectrum partition in each rearranged energy spectrum section and the channel address number of the energy spectrum partition in the reference energy spectrum section does not exceed a preset difference value threshold.
[0216] Preferably, the counting window determination module 730 is configured to traverse a combination of a plurality of energy spectral partitions in the reserved energy spectral section, obtain at least one combined energy spectral section, each of which is obtained by a combination of two or more consecutively arranged energy spectral partitions, and update the labeled energy spectral section according to window positioning indexes of the plurality of energy spectral partitions and the at least one combined energy spectral section.
[0217] Preferably, the counting window determination module 730 is configured to: partition the reserved energy spectral section into at least two energy spectral partitions according to a total number of channel addresses and a number of channel addresses included in a preset energy spectral partition; partition the reserved energy spectral section into at least two energy spectral partitions according to a total number of channel addresses and a partition number corresponding to a preset energy spectral partition; partition the reserved energy spectral section into at least two energy spectral partitions according to an energy spectral data distribution of the reserved energy spectral section; partition the reserved energy spectral section into at least two energy spectral partitions based on a preset random algorithm; determine a re-partitioning energy spectral section according to the number of a plurality of energy spectral partitions in the reserved energy spectral section and sequence information of channel address segments corresponding to the plurality of energy spectral partitions, partition the re-partitioning energy spectral section, and obtain a plurality of energy spectral partitions corresponding to the reserved energy spectral section according to a partition result of the re-partitioning energy spectral section.
[0218] Preferably, the counting window determination module 730 is configured to set the reserved energy spectral section as a repartitioning energy spectral section if the total number of energy spectral partitions included in the reserved energy spectral section does not reach a first preset number threshold, and to set an energy spectral section consisting of a sixth preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section as a repartitioning energy spectral section if the total number of energy spectral partitions included in the reserved energy spectral section reaches a second preset number threshold.
[0219] Preferably, the preset partitioning termination condition includes: the number of channel addresses included in energy spectral partitions other than the labeled energy spectral section in the reserved energy spectral section reaches a first preset channel address number threshold; or the number of updates of the labeled energy spectral section reaches a preset number threshold; or, when the labeled energy spectral section is continuously updated a preset number of times, the change in the window positioning index of the labeled energy spectral section after each update does not exceed a preset change amount; or the window positioning index of the labeled energy spectral section is better than a preset window positioning index threshold.
[0220] Preferably, the energy spectrum section marking module 720 determines a window positioning index for each candidate energy spectrum section according to the energy spectrum data of each candidate energy spectrum section or the energy spectrum data of each candidate energy spectrum section and the energy spectrum data of at least one candidate energy spectrum section among all the candidate energy spectrum sections; or determines a window positioning index for each candidate energy spectrum section according to the energy spectrum data of each candidate energy spectrum section and the energy spectrum data of the pending energy spectrum, or the energy spectrum data of each candidate energy spectrum section and the energy spectrum data of at least one candidate energy spectrum section among all the candidate energy spectrum sections and the energy spectrum data of the pending energy spectrum; or determines a window positioning index for each candidate energy spectrum section according to the energy spectrum data of each candidate energy spectrum section and the measurement sample data corresponding to the pending energy spectrum; or determining a window positioning index for each candidate energy spectral section according to the energy spectral data of each candidate energy spectral section, and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections and the measurement sample data corresponding to the energy spectrum to be processed; or determining a window positioning index for each candidate energy spectral section according to the energy spectral data of each candidate energy spectral section, and the measurement environment data corresponding to the energy spectrum to be processed; or determining a window positioning index for each candidate energy spectral section according to the energy spectral data of each candidate energy spectral section, and the energy spectral data of at least one candidate energy spectral section among all the candidate energy spectral sections and the measurement environment data corresponding to the energy spectrum to be processed; or determining a window positioning index for each candidate energy spectral section according to the energy spectral data of each candidate energy spectral section, 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; orThe method is configured to determine a window positioning index for each of the candidate energy spectral sections according to the energy spectral data of each of the candidate energy spectral sections, the energy spectral data of at least one of all the candidate energy spectral sections, the measurement sample data corresponding to the pending energy spectrum, and the measurement environment data corresponding to the pending energy spectrum.
[0221] Preferably, the energy spectrum data includes at least one of sample count, background count, measurement time, channel address and energy, the measurement sample data includes at least one of activity, volume and mass of the measurement sample, and the measurement environment data includes at least one of temperature, humidity, particle count, dust and electromagnetic measurements in the measurement environment.
[0222] The technical aspects of the embodiments of the present application include obtaining an energy spectrum to be processed, dividing the energy spectrum to be processed into at least two energy spectrum partitions according to channel addresses to perform preliminary partitioning of the energy spectrum to be processed, determining at least one candidate energy spectrum section according to the energy spectrum partitions, determining a window positioning index for each candidate energy spectrum section, determining a target energy spectrum section from the at least one candidate energy spectrum section according to the window positioning index of the at least one candidate energy spectrum section, preliminary selecting a counting window, and determining a target counting window of the energy spectrum to be processed according to the target energy spectrum section, thereby solving the problem of low calculation efficiency and low practicality when determining a counting window, and achieving the technical effects of automatically positioning the counting window of the energy spectrum, reducing time complexity, and improving practicality.
[0223] The energy spectrum counting window positioning device according to the embodiments of the present application is capable of performing the energy spectrum counting window positioning method according to any of the embodiments of the present application, and includes functional modules corresponding to the execution of the method.
[0224] Example 6 FIG. 12 shows a structural schematic diagram of an electronic device 10 that can be used to implement embodiments of the present application. The electronic device is intended to represent various types 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 further represent various types of mobile devices, such as personal digital processing, cellular phones, smartphones, 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 exemplary and are not intended to limit the implementation of the present application described and / or claimed herein.
[0225] As shown in FIG. 12, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12 and a random access memory (RAM) 13, in which a computer program executable by the at least one processor is stored, and the processor 11 can perform various appropriate operations and processes according to the computer program stored in the ROM 12 or the computer program loaded from the storage unit 18 into the RAM 13. The RAM 13 further stores various programs and data required for the operation of the electronic device 10. The processor 11, the ROM 12, and the 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.
[0226] The I / O interface 15 connects to several components of the electronic device 10, including an input unit 16, e.g. a keyboard, a mouse, etc., an output unit 17, e.g. various types of displays, speakers, etc., a storage unit 18, e.g. a magnetic disk, an optical disk, etc., and a communication unit 19, e.g. a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 enables the electronic device 10 to exchange information / data with other devices, e.g. via a computer network of the Internet and / or various telecommunication networks.
[0227] The processor 11 may be a general-purpose and / or special-purpose processing component having various 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 dedicated Artificial Intelligence (AI) computing chips, various processors that execute algorithms of machine learning models, Digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 executes each of the methods and processes described above, such as the method of positioning the energy spectrum counting window.
[0228] In some embodiments, the method for positioning the energy spectrum counting window can be realized as a computer program, which is tangibly included in a computer-readable storage medium, such as the storage unit 18. In some embodiments, the computer program can be partially or completely loaded and / or installed in 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, it can perform one or more steps of the method for positioning the energy spectrum counting window described above. Preferably, in other embodiments, the processor 11 is configured to perform the method for positioning the energy spectrum counting window in any other suitable manner (e.g., by firmware).
[0229] Various embodiments of the systems and techniques described herein may be implemented in digital electronic circuit systems, integrated circuit systems, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSPs), Systems on Chips (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include being embodied in one or more computer programs that can be executed and / or interpreted by a programmable system including at least one programmable processor, which may be a special purpose or general purpose programmable processor that can receive data and instructions from a memory system, at least one input device, and at least one output device, and transmit data and instructions to the memory system, the at least one input device, and the at least one output device.
[0230] Computer programs for implementing the methods of the present application may be written employing 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 apparatus, such that, when the computer programs are executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are performed. The computer programs may be executed entirely on the device, partially on the device, as a separate software package, partially on the device and partially on a remote device, or entirely on a remote device or server.
[0231] In the context of this application, a computer-readable storage medium may be a tangible medium that can contain or store a computer program for use in or in combination with an instruction execution system, device or apparatus. A computer-readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the above. Preferably, a computer-readable storage medium may be a machine-readable signal medium. Examples of machine-readable storage media include an electrical connection by one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM) or Flash memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical memory device, a magnetic memory device, or any suitable combination of the above.
[0232] To provide interaction with a user, the systems and techniques described herein can be implemented in an electronic device having a display device (e.g., a Cathode Ray Tube (CRT) or Liquid Crystal Display (LCD) monitor) for displaying information to a user, and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the electronic device. Other types of devices can be used to provide interaction with a user, for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or haptic feedback), and can receive input from the user in any form (including sound input, speech input, or tactile input).
[0233] The systems and techniques described herein may be implemented in a computing system that includes background components (e.g., as a data server), or in a computing system that includes middleware components (such as an application server), or in a computing system that includes a front-end component (a user computer having a graphical user interface or network browser through which a user can interact with embodiments of the systems and techniques described herein), or in a computing system that includes any combination of such background components, middleware components, or front-end components. The components of the system may be connected to each other 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.
[0234] The computing system may include a client terminal and a server. The client terminal and the server are generally remote from each other and usually interact with each other via a communication network. The relationship between the client terminal and the server is established by a computer program running on a corresponding computer and having a client terminal-server relationship with each other. The server may be a cloud server, also called a cloud computing server or cloud host, which is a hosting product in a cloud computing service system to solve the defects of traditional physical host and virtual private server (VPS) services, such as high management difficulty and weak business deployment.
[0235] It should be understood that the various types of flows shown above can be used, and steps can be rearranged, added, or removed. For example, the steps described herein can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical aspects of the present application can be achieved, and are not limited thereto in this specification.
Claims
1. Obtaining a pending energy spectrum, partitioning the pending energy spectrum into at least two energy spectrum partitions according to a channel address, and determining at least one candidate energy spectrum section including at least one energy spectrum partition according to the energy spectrum partitions; determining a window positioning index for each candidate energy spectral section; and determining a label energy spectral section from each candidate energy spectral section according to the window positioning index for each candidate energy spectral section; determining a target counting window for the pending energy spectrum in response to the labeled energy spectrum section; Determining a target counting window for the pending energy spectrum in response to the labeled energy spectrum section includes: determining a reserved energy spectrum section in response to the labeled energy spectrum section; partitioning the reserved energy spectral section to obtain respective energy spectral partitions corresponding to the reserved energy spectral section; and updating the labelled energy spectral section according to each energy spectral partition corresponding to the reserved energy spectral section; If a preset partitioning termination condition is satisfied, setting the labeled energy spectrum section as a target counting window of the pending energy spectrum; if the preset partitioning termination condition is not satisfied, returning to execute an operation of determining a reserved energy spectrum section according to the labeled energy spectrum section; The preset partitioning termination condition includes: a number of channel addresses included in an energy spectral partition other than the target energy spectral section in the reserved energy spectral section reaches a first preset channel address number threshold; an update count of the target energy spectral section reaches a preset number threshold; when the target energy spectral section is continuously updated a preset number of times, a change in a window positioning index of the target energy spectral section after each update does not exceed a preset change amount; or a window positioning index of the target energy spectral section is better than a preset window positioning index threshold.
13. A method for positioning an energy spectrum counting window, comprising:
2. The step of determining a reserved energy spectrum section in response to the labeled energy spectrum section includes: determining said labeled energy spectrum section as a reserved energy spectrum section; or merging a first preset number of energy spectrum partitions located proximate at least one of both ends of the labeled energy spectrum section into the labeled energy spectrum section to obtain a reserved energy spectrum section; or merging a second preset number of channel addresses located proximate at least one of both ends of the labeled energy spectrum section into the labeled energy spectrum section to obtain a reserved energy spectrum section.
2. The method of claim 1 .
3. The step of updating the marked energy spectral section according to each energy spectral partition corresponding to the reserved energy spectral section includes: determining a reference energy spectrum section according to the reserved energy spectrum section, and determining at least one rearranged energy spectrum section according to the reference energy spectrum section and energy spectrum partitions located at both ends of the reference energy spectrum section; If the window positioning index of the recombined energy spectrum section is better than the window positioning index of the reference energy spectrum section, update the recombined energy spectrum section with the best window positioning index as the reference energy spectrum section, and return to performing the operation of determining at least one recombined energy spectrum section according to the reference energy spectrum section and the energy spectrum partitions located at both ends of the reference energy spectrum section; if the window positioning index of the recombined energy spectrum section is not superior to the window positioning index of the reference energy spectrum section, then the reference energy spectrum section is the designated energy spectrum section.
2. The method of claim 1 .
4. The above-mentioned determining a reference energy spectrum section according to the reserved energy spectrum section, and determining at least one rearranged energy spectrum section according to the reference energy spectrum section and energy spectrum partitions located at both ends of the reference energy spectrum section, determine a window positioning index of each energy spectral partition of the reserved energy spectral section, and an energy spectral partition that satisfies a preset reference condition is taken as a reference energy spectral section by the window positioning index; or, if the number of energy spectral partitions in the reference energy spectral section is greater than a preset partition number threshold, remove a third preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section from the reserved energy spectral section to obtain a reference energy spectral section; Determining a combination-ready energy spectrum section according to a fourth preset number of energy spectrum partitions located close to at least one of both ends of the reference energy spectrum section, and merging the reference energy spectrum section and the combination-ready energy spectrum section to obtain at least one recombined energy spectrum section.
4. The method according to claim 3 .
5. The above-mentioned determining a reference energy spectrum section according to the reserved energy spectrum section, and determining at least one rearranged energy spectrum section according to the reference energy spectrum section and energy spectrum partitions located at both ends of the reference energy spectrum section, The method includes: taking the reserved energy spectrum section as a reference energy spectrum section; determining an energy spectrum section to be removed according to a fifth preset number of energy spectrum partitions located at least one end of the reference energy spectrum section; and removing the energy spectrum section to be removed in the reference energy spectrum section to obtain at least one rearranged energy spectrum section.
4. The method according to claim 3 .
6. Further comprising: if the difference value between the channel address number of the energy spectrum partition in the recombined energy spectrum section and the channel address number of the energy spectrum partition in the reference energy spectrum section does not exceed a preset difference value threshold, the target energy spectrum section is set as the target counting window of the pending energy spectrum.
4. The method according to claim 3 .
7. The step of updating the marked energy spectral section according to each energy spectral partition corresponding to the reserved energy spectral section includes: traversing each combination of energy spectral partitions in the reserved energy spectral section to obtain at least one combined energy spectral section obtained by combining two or more consecutively arranged energy spectral partitions; updating the labeled energy spectral section according to a window positioning index of each energy spectral partition and each combined energy spectral section; 2. The method of claim 1 .
8. The method of partitioning the reserved energy spectral section and obtaining each energy spectral partition corresponding to the reserved energy spectral section includes: partitioning the reserved energy spectrum section into at least two energy spectrum partitions according to a total number of channel addresses and a number of channel addresses included in a preset energy spectrum partition; or partitioning the reserved energy spectrum section into at least two energy spectrum partitions according to a total number of channel addresses and a partition number corresponding to a set energy spectrum partition; or partitioning the reserved energy spectral section into at least two energy spectral partitions according to an energy spectral data distribution of the reserved energy spectral section; or partitioning the reserved energy spectrum section into at least two energy spectrum partitions based on a preset random algorithm; Or, the method includes determining a repartitioning energy spectrum section according to the number of each energy spectrum partition in the reserved energy spectrum section and the sequence information of the channel address segment corresponding to each energy spectrum partition, partitioning the repartitioning energy spectrum section, and obtaining each energy spectrum partition corresponding to the reserved energy spectrum section according to the partitioning result of the repartitioning energy spectrum section.
2. The method of claim 1 .
9. The above-mentioned determining the repartitioning energy spectrum section according to the number of each energy spectrum partition in the reserved energy spectrum section and the arrangement information of the channel address segment corresponding to each energy spectrum partition includes: if a total number of energy spectrum partitions included in the reserved energy spectrum section does not reach a first preset number threshold, the reserved energy spectrum section is a repartitioned energy spectrum section; If a total number of energy spectral partitions included in the reserved energy spectral section reaches a second preset number threshold, an energy spectral section consisting of a sixth preset number of energy spectral partitions located at at least one of both ends of the reserved energy spectral section is set as a repartitioned energy spectral section.
9. The method of claim 8.
10. The step of determining the window positioning index for each candidate energy spectrum section includes: determining a window positioning index for each candidate energy spectral section according to the energy spectral data of each candidate energy spectral section; or determining a window positioning index for each candidate energy spectrum section according to the energy spectrum data of each candidate energy spectrum section and the energy spectrum data of the pending energy spectrum; or determining a window positioning index for each candidate energy spectrum section according to energy spectrum data of each candidate energy spectrum section and measurement sample data corresponding to the pending energy spectrum; or determining a window positioning index for each candidate energy spectrum section according to energy spectrum data of each candidate energy spectrum section and measurement environment data corresponding to the pending energy spectrum; or determining a window positioning index for each candidate energy spectrum section according to energy spectrum data of each candidate energy spectrum section, measurement sample data corresponding to the pending energy spectrum, and measurement environment data; 2. The method of claim 1 .
11. The energy spectrum data includes at least one of a sample count, a background count, a measurement time, a channel address, and energy, the measurement sample data includes at least one of an activity, a volume, and a mass of the measurement sample, and the measurement environment data includes at least one of a temperature, a humidity, a particle count, a dust, and an electromagnetic measurement in the measurement environment.
11. The method of claim 10.
12. an energy spectrum partitioning module for obtaining a pending energy spectrum, partitioning the pending energy spectrum into at least two energy spectrum partitions according to a channel address, and determining at least one candidate energy spectrum section including at least one energy spectrum partition according to the energy spectrum partitions; an energy spectral section labeling module for determining a window positioning index for each candidate energy spectral section, and determining a label energy spectral section from each candidate energy spectral section according to the window positioning index for each candidate energy spectral section; a counting window determination module for determining a target counting window for the pending energy spectrum in response to the labeled energy spectrum section; The counting window determination module is further used for: determining a reserved energy spectral section according to the labeled energy spectral section; partitioning the reserved energy spectral section; obtaining each energy spectral partition corresponding to the reserved energy spectral section; updating the labeled energy spectral section according to each energy spectral partition corresponding to the reserved energy spectral section; if a preset partitioning termination condition is met, setting the labeled energy spectral section as a target counting window of the pending energy spectrum; if the preset partitioning termination condition is not met, returning to perform the operation of determining a reserved energy spectral section according to the labeled energy spectral section; The preset partitioning termination condition includes: a number of channel addresses included in an energy spectral partition other than the target energy spectral section in the reserved energy spectral section reaches a first preset channel address number threshold; an update count of the target energy spectral section reaches a preset number threshold; when the target energy spectral section is continuously updated a preset number of times, a change in a window positioning index of the target energy spectral section after each update does not exceed a preset change amount; or a window positioning index of the target energy spectral section is better than a preset window positioning index threshold.
13. An energy spectrum counting window positioning device comprising:
13. At least one processor; a memory communicatively coupled to the at least one processor; a computer program executable by said at least one processor is stored in said memory, said computer program being executed by said at least one processor such that said at least one processor can execute the method for positioning an energy spectrum counting window according to any one of claims 1 to 11; 1. An electronic device comprising:
14. A method for determining whether a spectral energy counting window is located, comprising: storing computer instructions for implementing the method for determining whether a spectral energy counting window is located according to any one of claims 1 to 11, A computer-readable storage medium comprising:
Citation Information
Patent Citations
X-ray detection method and X-ray detector
CN107345923A
Systems and methods for spectral analysis and gain adjustment
CN110012673A
Multimodal spectrum stabilizing method of low-activity gamma power spectrum
CN110146915A
Aviation gamma energy spectrum measurement quality control method
CN112904402A
Aviation gamma energy spectrum analysis method based on multi-energy response
CN113189636A