SYSTEM AND METHOD FOR APPROXIMATING X-RAY INTENSITIES FOR A SAMPLE MEASURED BY AN X-RAY DETECTION SYSTEM
20250251356 · 2025-08-07
Inventors
Cpc classification
G01N23/2076
PHYSICS
International classification
Abstract
One or more X-ray intensities for a sample may be approximated. Measured intensities are received from an X-ray detection system at one or more diffraction angles. A sample simulation module computes simulated sample intensities from an X-ray fluorescence sample model with initial sample model parameters indicating the sample composition and/or layer thickness of one or more sample layers. A correction module applies a triangular collimator correction to the simulated sample intensities and determines a mathematical distance between the corrected simulated sample intensities and corresponding measured intensities. The sample model parameters are adjusted and the correction steps are repeated until the distance change falls below a minimal distance change. The sample model parameters regarding sample composition and/or the layer thickness associated with the corrected simulated intensities are provided as approximated concentration values of respective components contained in the measured sample and/or the layer thickness of the measured sample.
Claims
1. A computer-implemented method for approximating one or more X-ray intensities for a sample measured by an X-ray detection system with at least one collimator having a given angular range, a crystal monochromator and an X-ray detector, the method comprising: receiving one or more measured intensities from the X-ray detection system at respective one or more diffraction angles; computing, for the respective one or more diffraction angles, one or more simulated sample intensities from an X-ray fluorescence sample model with initial sample model parameters indicating a sample composition and/or layer thickness of one or more sample layers; applying a collimator correction to the one or more simulated sample intensities for the respective one or more diffraction angles by: determining, for each of the one or more diffraction angles, an integral over an energy range allowed by the angular range of the at least one collimator, wherein the integral is computed over a multiplicative product of a respective simulated sample intensity and an approximation function approximating a triangular shaped profile representing a relative intensity distribution in the angular range caused by an angular tolerance of the crystal monochromator defined by a divergence of the at least one collimator, the determined integral representing a corrected simulated sample intensity; determining a mathematical distance between the one or more corrected simulated sample intensities and corresponding one or more measured intensities; adjusting the sample model parameters regarding the sample composition and/or the layer thickness and repeating the determining operations and the adjusting operation until a change of the distance falls below a minimal distance change; and providing the sample model parameters regarding the sample composition and/or the layer thickness associated with the corrected simulated intensities as approximated concentration values of respective components contained in the measured sample and/or the layer thickness of the measured sample.
2. The method of claim 1, wherein applying the collimator correction further comprises: applying a polarization correction to the one or more simulated sample intensities such that, for each of the one or more diffraction angles, the simulated sample intensity is computed as a sum of an emission radiation emitted by the sample multiplied by a first polarization factor for single scattering at the monochromator and a scattered tube radiation scattered by the sample multiplied by a second polarization factor for double scattering at the sample and at the monochromator.
3. The method of claim 1, wherein applying the collimator correction further comprises: applying a crystal length correction to the one or more simulated sample intensities such that, for diffraction angles where a projection of a collimator height on a crystal monochromator plane is larger than the length of the crystal, the one or more simulated sample intensities are multiplied by a ratio of the length of the crystal to the length of the projection of the collimator height on the crystal monochromator plane.
4. The method of claim 1 further taking into account an impact of a detector window between the crystal monochromator and the X-ray detector, wherein applying the collimator correction further comprises: applying a window transmission correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by a transmission factor defined by a material and thickness of the detector window.
5. The method of claim 1, wherein applying the collimator correction further comprises: applying a detector efficiency correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by an absorption factor defined by a material and thickness of the detector.
6. The method of claim 1, wherein applying the collimator correction further comprises: applying a crystal diffraction efficiency correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is divided by a part of an incoming intensity being absorbed by the crystal and adjusted by a crystal geometry factor.
7. The method of claim 1, wherein applying the collimator correction further comprises: applying a pile-up correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by an exponential function describing an intensity loss which results from counting two photons arriving within a predefined time window as a single photon with double energy.
8. The method of claim 1, wherein applying the collimator correction further comprises: applying a background correction to the one or more simulated sample intensities, for taking into account an intensity loss caused by an escape of photons from active detector material, and/or an intensity gain caused by higher diffraction order artefacts of the monochromator, such that, for each respective diffraction angle, a corresponding intensity loss and/or corresponding intensity gain is added to the corrected simulated sample intensity.
9. The method of claim 1, wherein the corrected simulated sample intensity provides an optimized quantification of the composition of the sample and/or layer thickness of the one or more sample layers based on the one or more measured intensities.
10. A computer system for approximating one or more X-ray intensities for a sample measured by an X-ray detection system with at least one collimator having a given angular range, a crystal monochromator and an X-ray detector, the system comprising: an interface adapted to receive one or more measured intensities from the detection system at respective one or more diffraction angles; a sample simulation module adapted to compute, for the respective one or more diffraction angles, one or more simulated sample intensities from an X-ray fluorescence sample model with initial sample model parameters indicating a sample composition and/or layer thickness of one or more sample layers; a correction module adapted to apply a collimator correction to the one or more simulated sample intensities for the respective one or more diffraction angles by: determining, for each of the one or more diffraction angles, an integral over an energy range allowed by the angular range of the at least one collimator, wherein the integral is computed over a product of a multiplication of the respective simulated sample intensity with an approximation function approximating a triangular shaped profile representing a relative intensity distribution in the angular range caused by an angular tolerance of the crystal monochromator defined by a divergence of the at least one collimator, the determined integral representing a corrected simulated sample intensity; determining a mathematical distance between the one or more corrected simulated sample intensities and corresponding one or more measured intensities; adjusting the sample model parameters regarding the sample composition and/or the layer thickness and repeating the determining operations and the adjusting operation until a change of the distance falls below a minimal distance change; and the interface further adapted to provide the sample model parameters regarding the sample composition and/or the layer thickness associated with the corrected simulated intensities as approximated concentration values of respective components contained in the measured sample and/or the layer thickness of the measured sample.
11. The system of claim 10, wherein the correction module is further adapted to apply a polarization correction to the one or more simulated sample intensities such that, for each of the one or more diffraction angles, the simulated sample intensity is computed as a sum of an emission radiation emitted by the sample multiplied by a first polarization factor for single scattering at the monochromator and a scattered tube radiation scattered by the sample multiplied by a second polarization factor for double scattering at the sample and at the monochromator.
12. The system of claim 10, wherein the correction module is further adapted to apply a crystal length correction to the one or more simulated sample intensities such that, for diffraction angles where a projection of a collimator height on a crystal monochromator plane is larger than the length of the crystal, the one or more simulated sample intensities are multiplied by a ratio of the length of the crystal to the length of the projection of the collimator height on the crystal monochromator plane.
13. The system of claim 10 further taking into account an impact of a detector window between the crystal monochromator and the X-ray detector, wherein the correction module is further adapted to apply a window transmission correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by a transmission factor defined by a material and thickness of the detector window.
14. The system of claim 10, wherein the correction module is further adapted to apply a detector efficiency correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by an absorption factor defined by a material and thickness of the detector.
15. A computer program product for approximating one or more X-ray intensities for a sample measured by an X-ray detection system with at least one collimator having a given angular range, a crystal monochromator and an X-ray detector, the computer program product being tangibly embodied on a non-transitory computer-readable storage medium and comprising instructions that, when executed by at least one computing device, are configured to cause the at least one computing device to: receive one or more measured intensities from the X-ray detection system at respective one or more diffraction angles; compute, for the respective one or more diffraction angles, one or more simulated sample intensities from an X-ray fluorescence sample model with initial sample model parameters indicating a sample composition and/or layer thickness of one or more sample layers; apply a collimator correction to the one or more simulated sample intensities for the respective one or more diffraction angles by: determine, for each of the one or more diffraction angles, an integral over an energy range allowed by the angular range of the at least one collimator, wherein the integral is computed over a multiplicative product of a respective simulated sample intensity and an approximation function approximating a triangular shaped profile representing a relative intensity distribution in the angular range caused by an angular tolerance of the crystal monochromator defined by a divergence of the at least one collimator, the determined integral representing a corrected simulated sample intensity; determine a mathematical distance between the one or more corrected simulated sample intensities and corresponding one or more measured intensities; adjust the sample model parameters regarding the sample composition and/or the layer thickness and repeating the determining operations and the adjusting operation until a change of the distance falls below a minimal distance change; and provide the sample model parameters regarding the sample composition and/or the layer thickness associated with the corrected simulated intensities as approximated concentration values of respective components contained in the measured sample and/or the layer thickness of the measured sample.
16. The computer program product of claim 15, wherein the instructions, when executed, are further configured to cause the at least one computing device to apply the collimator correction by: applying a polarization correction to the one or more simulated sample intensities such that, for each of the one or more diffraction angles, the simulated sample intensity is computed as a sum of an emission radiation emitted by the sample multiplied by a first polarization factor for single scattering at the monochromator and a scattered tube radiation scattered by the sample multiplied by a second polarization factor for double scattering at the sample and at the monochromator.
17. The computer program product of claim 15, wherein the instructions, when executed, are further configured to cause the at least one computing device to apply the collimator correction by: applying a crystal length correction to the one or more simulated sample intensities such that, for diffraction angles where a projection of a collimator height on a crystal monochromator plane is larger than the length of the crystal, the one or more simulated sample intensities are multiplied by a ratio of the length of the crystal to the length of the projection of the collimator height on the crystal monochromator plane.
18. The computer program product of claim 15, further taking into account an impact of a detector window between the crystal monochromator and the X-ray detector, wherein the instructions, when executed, are further configured to cause the at least one computing device to apply the collimator correction by: applying a window transmission correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by a transmission factor defined by a material and thickness of the detector window.
19. The computer program product of claim 15, wherein the instructions, when executed, are further configured to cause the at least one computing device to apply the collimator correction by: applying a detector efficiency correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by an absorption factor defined by a material and thickness of the detector.
20. The computer program product of claim 15, wherein the instructions, when executed, are further configured to cause the at least one computing device to apply the collimator correction by: applying a crystal diffraction efficiency correction to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is divided by a part of an incoming intensity being absorbed by the crystal and adjusted by a crystal geometry factor.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0048]
[0049]
[0050]
[0051]
[0052]
[0053]
[0054]
[0055]
[0056]
[0057]
[0058]
[0059]
[0060]
[0061]
[0062]
DETAILED DESCRIPTION
[0063]
[0064] In the example embodiment of
[0065] The X-ray tube 201 generates polychromatic radiation 201-r including characteristic lines and Bremsstrahlung which is directed on a sample 202 to be analyzed. This radiation generates polychromatic X-ray fluorescence as well as scattered radiation 202-r in the sample 202. The radiation 202-r emitted by the sample 202 is analyzed by measuring, with a goniometer, the radiation reflected by the monochromator 203 (CM) of the spectrometer at various diffraction angles . Typically, a collimator 205 (C1) is placed between the sample 202 and CM 203. This technique is based on Bragg's law. X-ray photons 203-r of multiples of the energy of the analytical signal arrive at the detector 204 of the spectrometer. A photon hitting the detector 204 is converted into an electric pulse where the pulse height is proportional to the energy of the photon. The detector then only sums up photons with energies between 50 to 150% of the expected energy at the diffraction angle to exclude photons of higher diffraction order resulting in a measured intensity value 212 for each diffraction angle .
[0066] System 100 has an interface (not shown) suitable to receive 1100 said one or more measured intensities 212 from the detection system 200-1. Such interfaces for the exchange of data between measurement devices, such as spectrometer 200, and computer systems are well known in the art.
[0067] System 100 has a sample simulation module 130 that is adapted to compute 1200, for the respective one or more diffraction angles , one or more simulated sample intensities 112 from an X-ray fluorescence sample model 130M with initial sample model parameters 130P indicating the sample composition and/or layer thickness of one or more layers of said sample. Any sample model type which is disclosed in the above cited section of the Handbook of Practical X-Ray Fluorescence Analysis may be used. A person skilled in the art may also be able to use other suitable sample model types which are not described in this Handbook.
[0068] The system 100 further has a correction module 120 adapted to apply 1300 at least a collimator correction function C-C 121 to the one or more simulated sample intensities 112 for the respective one or more diffraction angles. In optional embodiments, the correction module comprises further optional correction functions 122 to 128 to apply corrections implied by other components of the detection system 200-1. These optional corrections are described in detail further down below.
[0069] The collimator correction function C-C 121 determines 1320, for each of the one or more diffraction angles, an integral over an energy range allowed by the angular range of the at least one collimator 205, 206. The integral I() is computed in accordance with formula F4 over the product of the respective simulated sample intensity i.sub.sim(E) 112 and an approximation function (e.g., piecewise linear function) T(E) approximating a triangular shaped profile representing a relative intensity distribution in the angular range caused by the angular tolerance of the crystal monochromator defined by the divergence of the at least one collimator:
where E.sub.1 and E.sub.2 are the start and end energies between the detector 204 integrates for the nominal position , and T() is a triangular correction taking into account the impact of the collimator(s) on the Xray radiation emitted by the sample. The determined integral I() represents a corrected simulated sample intensity i.sub.sim(E) 112-c. A person skilled in the art may use other approximation functions such as a Lorentz or Gauss function or (pseudo-) Voigt profile to describe the triangular shaped profile.
[0070] The example embodiment of
is the maximum divergence allowed by the collimator.
[0071] In case the detection system 200-1 has two collimators (cf.
[0072]
[0073] The intensity integral in equation F4 is defined in the energy E dimension. Therefore, the triangle equation for the triangular collimator correction function is transformed by the Bragg equation F3:
The indices of the limits change from to E since the Bragg equation is an inverse transformation. This is shown in
by the negative sign in front of the integral (cf. A. Iwata, K. Yuge, and J. Kawai, Intensity Correction of WD-XRF Spectra from 2 to Energy, X-Ray Spectrom. 42, 16 (2013).). The term tan /E is related to the Lorentz-factor and can be addressed by another correction (crystal diffraction efficiency correction) as discussed further down below.
[0074] Finally, the triangular part of equation F4 can be written as
This piecewise linear approximation can also be extended to even more sections. Such triangular collimator correction is new to WD detection system modelling.
[0075] With the triangular collimator response and the derived integration limits, the profile widths of the characteristic X-ray lines in the simulated intensities (simulated peak widths for the respective elements) are defined by only the collimator width and the crystal lattice plane distance which are both known constants. That is, the number of parameters needed to describe the profiles for the WD detection system modelling is substantially reduced. In prior art approaches, typically for each peak a parameter is needed which has to be calibrated via respective standards. Further, the dependent integration width explains, why the background intensity increases from high to low angles, since the background is integrated in an increasing energy range from high to low angles. This is a major step towards a complete description of the WD detection system and the relation of background to emission line intensity.
[0076] The angular difference =.sub.2.sub.1 can be transformed to a corresponding energy difference E=E.sub.2E.sub.1 by
[0077] Turning back now to
[0078] The sample model parameters 130P of the sample model 130M regarding the sample composition and/or the layer thickness are then adjusted 1360. That is, one or more of the sample parameters 130P are modified by the optimization module 129 in such a way that the distance is reduced (e.g. along the first derivative). Since the influence of the sample model parameters 130P on the simulated intensities 112 is typically non-linear, the determining steps 1320, 1340 and the parameter adjustment step 1360 are then repeated until the change of the distance falls below a minimal change of the distance. In other words, the first derivative is close to zero. Thereby, a checking step 1341 compares the determined mathematical distance change with said minimal distance change. The minimal distance change can be a given threshold value or it may be a relative value.
[0079] Finally, the interface of system 100 is adapted to provide the sample model parameters 130P regarding the sample composition and/or the layer thickness associated with the corrected simulated intensities 112-c as approximated concentration values of respective components contained in the measured sample 202 and/or the layer thickness of the measured sample. In other words, once the optimization of the sample model 130M has progressed such that the minimal distance change has been reached, the one or more corrected simulated intensities match the respective one or more measured intensities to such an extent that the model parameters 130P can be interpreted as an indirect measurement result for the sample composition and/or layer thickness parameters of the measured (real-world) sample.
[0080]
[0081]
[0082] Turning back to
[0083]
[0084] The polarization correction P-C 122 addresses the change in intensity due to polarization by scattering. If an unpolarized beam hits the crystal 203, the outgoing beam is not only diminished by the diffraction efficiency of the crystal but also by the polarization effect of the scattering process. This effect is angle dependent and has its maximum at 2=90 between the incoming and outgoing beam. At that angle the outgoing beam is fully linear polarized, and the polarization correction has a value of 50%.
[0085] However, in the case of WD detection system 200-1a, only the radiation i.sub.E(E) emitted by the sample is unpolarized. The radiation i.sub.s(E) already scattered at the sample is already polarized by that scattering process. Thus, the two contributions to the spectrum are to be treated differently when taking into account for polarization correction. In most detection systems the scattering at the sample and the crystal occurs in the same plane which simplifies the P-C correction. It is however possible to extend P-C 122 to any geometry, for example by using Mueller calculus.
[0086] In the following, the common case of both scattering processes occurring in the same plane is addressed, where only the amplitude of the polarization vector parallel to the scattering plane is affected. For unpolarized emission radiation, this polarization vector has the same amplitude as the perpendicular polarization vector before hitting the crystal. Thus, the overall intensity of emissions from the sample are modulated by
where is the diffraction angle on the crystal.
[0087] In the case of already scattered radiation (black arrows), the following equation can be used for a WD detection system:
with as the incidence angle on the sample and as the takeoff angle on the sample.
[0088] Consequently, the polarization correction equations are
for the first polarization factor for single scattering at the monochromator to be multiplied with the emission radiation emitted by the sample, and
for the second polarization factor for double scattering at the sample and at the monochromator to be multiplied with the scattered tube radiation scattered by the sample.
[0089] Equation (F4) when further including P-C 122 is modified into Equation F4-1:
Where P.sub.E(E) and P.sub.S(E) are the polarization factors for emission radiation and scattered radiation respectively, and i.sub.E(E) and i.sub.S(E) are the emission radiation and the scattered radiation in s.sup.1 eV.sup.1, respectively.
[0090] The separation of the effect of polarization on the components of the radiation hitting the detector further improves the accuracy of the simulated intensities for the WD detection system response. As a consequence, the accuracy of the model parameters is also improved once the minimal distance is reached. That is, the indirectly measured sample parameters (component concentrations/layer thickness) become even more reliable when adding the polarization correction 122 to the triangular correction 121 as illustrated in formula F4-1 for computing the corrected simulated intensities. For example, the polarization correction also explains why the peak to background ratios (emission radiation/scattered radiation) are different than in energy-dispersive (ED) detection systems. The evolution of the polarization correction for a LiF200 crystal (d=2.01 ) over 2 is illustrated in
[0091] Turning briefly back to
[0092] Using the Bragg equation F3 provides:
with h1 as the collimator height, h1 the illuminated projection, and d the lattice plane distance of the crystal. The crystal length correction CL-C 123 is then:
with l1 as the length of the crystal.
[0093] Equation F4-1 when further including CL-C 123 is modified into Equation F4-2:
[0094] In other words, for diffraction angles where the projection h1 of the collimator height h1 on the crystal monochromator plane is larger than the length l1 of the crystal, the one or more simulated sample intensities are then multiplied by the ratio of the length l1 of the crystal to the length of the projection h1 of the collimator height on the crystal monochromator plane to arrive at the corrected simulated intensities 112-c.
[0095] It is to be noted that, in one embodiment, the crystal length correction 123 may be applied together with the triangular correction 120 only. In general, the triangular correction may be combined with any of the optional corrections 121 to 128, or with any subset of the optional corrections.
[0096]
[0097] As can be seen from
[0098] The detector window transmission is defined as the ratio of the intensity I.sub.W.sup.a after the window and the intensity In before the window and can be expressed in terms of the absorption properties of the material:
with the energy dependent mass absorption coefficient .sub.W(E), the density .sub.W and the thickness t.sub.W of the window material.
[0099] Equation F4-2 when further including WT-C 124 is modified into Equation F4-3:
[0100] Structures like silicon support grids to prevent ruptures of foil or multi-layer windows and can also be modelled by combining multiple window transmission terms additive and multiplicative, respectively. An optional window in front of the primary collimator 205 can be treated equally.
[0101] The correction module 120 may further be adapted to apply 1324 a detector efficiency correction function DE-C 125 to the one or more simulated sample intensities such that, for each respective diffraction angle , the simulated sample intensity is multiplied by an absorption factor defined by the material and thickness of the detector.
[0102] The detector efficiency is defined as the ratio of the intensity I.sub.D.sup.a absorbed in the active detector material and the intensity I.sub.D.sup.0 incident to the active detector material and is the complementary part of the transmission of the active detector material:
with the energy dependent mass absorption coefficient .sub.D(E), the density .sub.D and the thickness t.sub.D of the active detector material.
[0103] A different incident angle on the detector can be taken into account by dividing the thicknesses t by sin . However, generally an incidence angle of 90 is used in WD detection systems. The underlying correction model considers the detector 204 to be infinite in its size perpendicular to the incidence of the beam. This is an approximation, that is sufficient for current devices. However, this model can be adjusted to take into account the real size of the detector, too.
[0104] Equation F4-3 when further including DE-C 125 is modified into Equation F4-4:
[0105] The correction module 120 may further be adapted to applying 1325 a crystal diffraction efficiency correction function CE-C 126 to the one or more simulated sample intensities. In this embodiment, for each respective diffraction angle , the simulated sample intensity is divided by the part of the incoming intensity being absorbed by the crystal and adjusted by a crystal geometry factor.
[0106] Starting from the master equation for crystallography (5.30) and substitute by (5.28) in J. Als-Nielsen and D. McMorrow, Elements of Modern X-Ray Physics, 2nd ed. (Wiley, Hoboken, 2011) the integrated intensity I.sub.SC can be computed as:
with .sub.0 as the incident flux,
as the term resulting from the integration over (related to the Lorentz-Factor), and
as the differential elastic scattering cross section without polarization. In the above Als-Nielsen et al. reference, the polarization is part of the differential scattering cross section, but in the herein disclosed approach the polarization is treated separately for scattered tube radiation and emission. The differential scattering cross section without the polarization is scattering angle dependent and energy independent.
[0107] Equation (5.31) of G. Remond, P. Coutures, C. Gilles, and D. Massiot, Analytical Description of X-Ray Peaks: Application to L X-Ray Spectra Processing of Lanthanide Elements by Means of the Electron Probe Micro-Analyzer, Scanning Microsc. 3, (1989) describes the effect of absorption of the crystal for the case infinite thickness. This can be adjusted to address crystals with finite thickness. However, for the typical crystals used in WD detection systems, the crystals can be regarded as infinitely thick in the energy range they are used, resulting in
[0108] On page 176 of the above Redmond et al. reference, the dependency of the structure factor (that is part of the differential scattering cross section) on the thermal roughening of the reciprocal lattice is described by the term
which can be transformed by using the Bragg equation F1 into:
with the Debye-Waller factor Br being constant and all other parameters being constant. The scattering cross section can be replaced by a single general scaling factor g that is adjusted for each crystal only once.
[0109] Transforming the above equations to the energy dimension using again the Bragg equation results in:
[0110] In other words, the absorption part
is considered when modelling the WD detection system which is further step towards a full description of the WD detection system efficiency. The term 2d
represents the transformation of the integral as shown by the earlier mentioned Iwata et al. reference and is related to the Lorentz-Factor.
[0111] Equation F4-4 when further including CE-C 126 is modified into Equation F4-5:
[0112] The correction module 120 may further be adapted to apply 1326 a pile-up correction PU-C 127 to the one or more simulated sample intensities such that, for each respective diffraction angle, the simulated sample intensity is multiplied by an exponential function describing the intensity loss which results from counting two photons arriving within a predefined time window as a single photon with the double energy.
[0113] The detector 204 is unable to distinguish if the signal results from two photons hitting the detector at roughly the same time or one photon with double energy. Consequently, a pile-up intensity peak PU1 is expected at double energy of the 1st diffraction order energy of the monochromator crystal (also the 2nd order corresponds to double energy). Due to detector electronics optimized for high count rate this effect is smeared between 1st and 2nd order O1, O2. The effect dependents non-linearly on the intensity. The higher the intensity, the higher the effect. For low intensities it is insignificant.
[0114] However, the upper discrimination limit PHA150 of PHA discriminator window may cut right through the pile-up that is part of the analytical signal (with the correction that each counted photon in the pile-up corresponds to two analytically relevant photons). Again, intensity is lost, and the detector efficiency is reduced at high count rates by the factor
with I() the intensity of Equation (3) without the pile-up correction and p as a parameter that must be adjusted by calibration to address the influence of the upper discrimination limit of the detector. The exponential expression is a known equation for pile-up (cf. G. Blaj et al., Optimal Pulse Processing, Pile-Up Decomposition, and Applications of Silicon Drift Detectors at LCLS, IEEE Trans. Nucl. Sci. 64, 2854 (2017)).
[0115] Equation F4-5 when further including PU-C 127 is modified into Equation F4-6:
[0116] Taking pile-up into account for the efficiency calculation of the WD detection system allows to model profile shapes in measurements with high count rates. When measuring a peak in a WD 2 scan, the highest measuring points are diminished relative to other points of the same peak. This results in peaks in the 2 scan with a flatter tip of the peak. For this reason, state-of-the-art used profiles (e.g., pseudo-Voigt) differ significantly from the measurement in cases of a high count-rate and require a reduction of the count rate by decreasing the power and, as a consequence, the performance of the device. The use of the PU-C 127 correction function overcomes the problem and allows to perform measurements at high count rates without suffering from the prior art disadvantage.
[0117] There are intensity contributions reaching the detector in ways different than described in the above description. Such contributions are called background contributions.
[0118] At marker 1 in heatmap 95 the Cu KA line gives a strong signal at the position of 1st order O1 (100% PHA). To the left of marker 1 is another high intensity of Cu KB. For the following, Cu KA is used as an example for the processes in the detector that occur for any photon hitting the detector (emission or sample scattered radiation).
[0119] Two additional intensity maxima can be observed above and below the 1st order peak of Cu KA at marker 1 in heatmap 95, respectively. One maximum is near the lower discrimination limit PHA50 (50% PHA) indicated by marker 2 and another maximum extending from the 1st order O1 through the upper discrimination limit PHA150 towards the 2nd order O2 at marker 3. The latter is the pile-up PU1 that has already been explained in the context of the PU-C correction function 127.
[0120] The additional intensity at marker 2 is due to the escape of fluorescence photons from the active detector material (in the example Ar) after an incoming photon has interacted with the active detector material. This additional peak at marker 2 is thus part of the analytically relevant information and may be integrated. However, as can be seen by the dash-dotted 1st order Ar Escape line O1E the relative distance between the 1st order part O1 of the analytical intensity and the escaped intensity increases with increasing 2. Since the integration range is fixed (from PHA50 to PHA150), the escape peak O1E in the PHA will move through the lower discrimination limit PHA50 with increasing 2, reducing the analytically relevant intensity being integrated.
[0121] As mentioned above, the monochromator crystal allows multiple diffraction orders and thus allows multiples of the first order energy (O1 in 95) to hit the X-ray detector. Marker 5 in 95 is the 2nd order peak of Cu KA, with the same additional intensity maxima as discussed before. Here the Ar Escape peak falls partly into the discriminator window (between PHA50 and PHA150). However, now it does not belong to the analytically relevant intensity, since the 1st order energy is here half of the Cu KA energy. This again happens for all photons hitting the X-ray detector. This is indicated by the dash-dotted 2nd order Ar Escape line O2E. The escape peak O2E in the PHA will move into the integration range coming from the higher discrimination limit PHA150 with increasing 2, thus adding to the background caused by detector artefacts.
[0122] The correction module 120 may further be adapted to apply 1327 a background correction function 128 to the one or more simulated sample intensities to further take into account an intensity loss caused by the escape of photons from the active detector material, and/or an intensity gain caused by higher diffraction order artefacts of the monochromator. Thereby, for each respective diffraction angle, the corresponding intensity loss and/or intensity gain is added to the corrected simulated sample intensity 112-c.
[0123] Such a reduction of efficiency depends on the discrimination limits and detector material and only occurs if the photon energy is above the edge energy of the detector material escape fluorescence line. In the following, this escape effect (i.e., the loss b.sub.Escape(E)) is calculated exemplarily for a gas counter detector with Argon as the active material.
with E.sub.Ar K as the K edge energy of Argon and e.sub.Ar KA as the escape probability of an Ar KA emission from the detector. This could be energy dependent but in the case of the gas counter detector it is not. i(E) is the expected intensity hitting the detector. This is followed by the integration of a Gaussian profile from 0% PHA to l as the lower discrimination limit (here 50% PHA). EAT KA is the energy of the Ar KA escape emission and .sub.PHA(E) is the standard deviation of the PHA peaks. The expression is negative, because intensity is lost if the Argon escape peak is cut by the lower discrimination limit.
[0124] Using equation F3, 2=40 corresponds to 8 keV (Cu KA energy), 2=100 corresponds to 4 keV (both at 1st order). However, for diffraction order n=2 the energy is again 8 keV (Cu KA energy). Correspondingly, an intensity profile similar to that at marker 1 is also visible at marker 5 (also pile-up PU2 is extending further upwards). Also, here an escape peak is visible at marker 6 and reaches into the integration range.
[0125] However, in this case the intensity is not belonging to the analytically relevant information at 2=100 (4 keV) but is nevertheless integrated. This contribution is similar to b.sub.escape described above, but has a positive sign. That is, it adds to the overall background.
[0126] In comparison to the expression for b.sub.escape the double energy is used for the origin of the intensity, and integration is performed from the lower discrimination limit l (PHA50) to the upper discrimination limit u (PHA150). This correction can also be relevant for higher orders where the 2 in the equation above is replaced by the corresponding diffraction order.
[0127] The effect of the escape as described above with clearly visible peaks at markers 1 and 5 also applies to regions of the spectrum without clear peaks, for example at marker 4, where the main contribution at 1st order energy O1 is due to scattered tube Bremsstrahlung from the sample.
[0128] All background contributions b(E) (including b.sub.Escape(E), b.sub.2nd order(E), etc.) may simply be added to the corrected simulated intensities in any of the equations F4*. Equation F4-6 when further including background correction function B-C 128 is modified into equation F4-7 which then includes all corrections provided by the correction module 120 in a full-blown embodiment (modeling all potential impacts of the detection system 200-1 on the simulated intensities):
[0129]
[0130] In this embodiment, the model of the WD detection system also calculates the fluorescence and diffuse scattering contribution to the background of the WD detector response. The crystal 203 is thereby mounted on a holder 203-1. The bold arrows 11, 11-1 indicate the radiation coming from the sample and then being scattered by the crystal 203 and the holder 203-1 towards the detector 204. The dashed arrow 11-2 indicates the emission radiation from the crystal 203 and the holder 203-1.
[0131] Both effects can be calculated from a simplified state-of-the-art EDX modelling solutions where the crystal 203 and its holder 203-1 are described as a multilayer sample and the excitation radiation is the radiation coming from the sample. The profiles can be simple Gaussian profiles with standard deviation .sub.PHA. And the incoming and outgoing beam angle varies with 2. The contribution to the background of the WD response can be calculated by integration between the energy of the lower PHA discrimination limit (l*E) and the upper PHA discrimination limit (u*E).
[0132] With the above elaborated solutions, the background contributions described by the above cited Portnoi et al. reference can be calculated. Additionally, the effect of scattering and the fluorescence from the crystal holder are included. Other detectors may have other ways to integrate the intensity. Corresponding adjustments can be made to the above-mentioned background contribution calculation. Other effects such as holes in the efficiency due to Renninger Effect, photo-electrons or extinction from the crystal can be modelled in a similar way.
[0133] For solving the integral of F4-7 (and the other integrals F* in an analogous manner) to obtain the respective corrected simulated one or more intensities one may either integrate numerically, or find a solution to integrate analytically. The former has the advantage that it allows to integrate approximation functions that are not analytically integrable. The latter has the advantage of being significantly faster and wider applicable. For this purpose, all contributions that are close to linear within the integration range can be approximated as constant with the value of the center energy.
[0134] Integration of the continuous part of the scattered radiation is simple, since both the description of the continuous part and the triangle are piecewise polynomials which can be multiplied and piecewise integrated. The integration of the multiplication of the piecewise linear triangle function with the pseudo-Voigt profile of the emission and sample-scattered characteristic tube lines can be solved by partial integration of each piece of the piecewise linear function of the triangle.
[0135] The integral of a piecewise linear function multiplied by any function (E) can be solved by:
[0136] In the case of the triangular correction function T(E) there are two pieces in the piecewise linear function: the raising part and the falling part of the triangle that are both 1 at E and 0 at E.sub.1 and E.sub.2, respectively. With the derivative
the integral reduces to
[0137] For solving this reduced integral, the cumulative probability function for the Cauchy (Lorentzian profile)
and Normal (Gaussian profile) distribution
is integrated.
[0138] The above is the solution for a triangle, the solution for any other piecewise linear function is very similar. Using other approximation functions (such as Lorentz or Gauss functions) for the triangular profile shape may also result in similar results.
[0139]
[0140] Computing device 900 includes a processor 902, memory 904, a storage device 906, a high-speed interface 908 connecting to memory 904 and high-speed expansion ports 910, and a low-speed interface 912 connecting to low-speed bus 914 and storage device 906. Each of the components 902, 904, 906, 908, 910, and 912, are interconnected using various busses, and may be mounted on a common motherboard or in other manners as appropriate. The processor 902 can process instructions for execution within the computing device 900, including instructions stored in the memory 904 or on the storage device 906 to display graphical information for a GUI on an external input/output device, such as display 916 coupled to high-speed interface 908. In other implementations, multiple processors and/or multiple buses may be used, as appropriate, along with multiple memories and types of memory. Also, multiple computing devices 900 may be connected, with each device providing portions of the necessary operations (e.g., as a server bank, a group of blade servers, or a multi-processor system).
[0141] The memory 904 stores information within the computing device 900. In one implementation, the memory 904 is a volatile memory unit or units. In another implementation, the memory 904 is a non-volatile memory unit or units. The memory 904 may also be another form of computer-readable medium, such as a magnetic or optical disk.
[0142] The storage device 906 is capable of providing mass storage for the computing device 900. In one implementation, the storage device 906 may be or contain a computer-readable medium, such as a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid state memory device, or an array of devices, including devices in a storage area network or other configurations. A computer program product can be tangibly embodied in an information carrier. The computer program product may also contain instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer- or machine-readable medium, such as the memory 904, the storage device 906, or memory on processor 902.
[0143] The high-speed controller 908 manages bandwidth-intensive operations for the computing device 900, while the low-speed controller 912 manages lower bandwidth-intensive operations. Such allocation of functions is exemplary only. In one implementation, the high-speed controller 908 is coupled to memory 904, display 916 (e.g., through a graphics processor or accelerator), and to high-speed expansion ports 910, which may accept various expansion cards (not shown). In the implementation, low-speed controller 912 is coupled to storage device 906 and low-speed expansion port 914. The low-speed expansion port, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet) may be coupled to one or more input/output devices, such as a keyboard, a pointing device, a scanner, or a networking device such as a switch or router, e.g., through a network adapter.
[0144] The computing device 900 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a standard server 920, or multiple times in a group of such servers. It may also be implemented as part of a rack server system 924. In addition, it may be implemented in a personal computer such as a laptop computer 922. Alternatively, components from computing device 900 may be combined with other components in a mobile device (not shown), such as device 950. Each of such devices may contain one or more of computing device 900, 950, and an entire system may be made up of multiple computing devices 900, 950 communicating with each other.
[0145] Computing device 950 includes a processor 952, memory 964, an input/output device such as a display 954, a communication interface 966, and a transceiver 968, among other components. The device 950 may also be provided with a storage device, such as a microdrive or other device, to provide additional storage. Each of the components 950, 952, 964, 954, 966, and 968, are interconnected using various buses, and several of the components may be mounted on a common motherboard or in other manners as appropriate.
[0146] The processor 952 can execute instructions within the computing device 950, including instructions stored in the memory 964. The processor may be implemented as a chipset of chips that include separate and multiple analog and digital processors. The processor may provide, for example, for coordination of the other components of the device 950, such as control of user interfaces, applications run by device 950, and wireless communication by device 950.
[0147] Processor 952 may communicate with a user through control interface 958 and display interface 956 coupled to a display 954. The display 954 may be, for example, a TFT LCD (Thin-Film-Transistor Liquid Crystal Display) or an OLED (Organic Light Emitting Diode) display, or other appropriate display technology. The display interface 956 may comprise appropriate circuitry for driving the display 954 to present graphical and other information to a user. The control interface 958 may receive commands from a user and convert them for submission to the processor 952. In addition, an external interface 962 may be provide in communication with processor 952, so as to enable near area communication of device 950 with other devices. External interface 962 may provide, for example, for wired communication in some implementations, or for wireless communication in other implementations, and multiple interfaces may also be used.
[0148] The memory 964 stores information within the computing device 950. The memory 964 can be implemented as one or more of a computer-readable medium or media, a volatile memory unit or units, or a non-volatile memory unit or units. Expansion memory 984 may also be provided and connected to device 950 through expansion interface 982, which may include, for example, a SIMM (Single In Line Memory Module) card interface. Such expansion memory 984 may provide extra storage space for device 950, or may also store applications or other information for device 950. Specifically, expansion memory 984 may include instructions to carry out or supplement the processes described above, and may include secure information also. Thus, for example, expansion memory 984 may act as a security module for device 950, and may be programmed with instructions that permit secure use of device 950. In addition, secure applications may be provided via the SIMM cards, along with additional information, such as placing the identifying information on the SIMM card in a non-hackable manner.
[0149] The memory may include, for example, flash memory and/or NVRAM memory, as discussed below. In one implementation, a computer program product is tangibly embodied in an information carrier. The computer program product contains instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer- or machine-readable medium, such as the memory 964, expansion memory 984, or memory on processor 952, that may be received, for example, over transceiver 968 or external interface 962.
[0150] Device 950 may communicate wirelessly through communication interface 966, which may include digital signal processing circuitry where necessary. Communication interface 966 may provide for communications under various modes or protocols, such as GSM voice calls, SMS, EMS, or MMS messaging, CDMA, TDMA, PDC, WCDMA, CDMA2000, or GPRS, among others. Such communication may occur, for example, through radio-frequency transceiver 968. In addition, short-range communication may occur, such as using a Bluetooth, WiFi, or other such transceiver (not shown). In addition, GPS (Global Positioning System) receiver module 980 may provide additional navigation- and location-related wireless data to device 950, which may be used as appropriate by applications running on device 950.
[0151] Device 950 may also communicate audibly using audio codec 960, which may receive spoken information from a user and convert it to usable digital information. Audio codec 960 may likewise generate audible sound for a user, such as through a speaker, e.g., in a handset of device 950. Such sound may include sound from voice telephone calls, may include recorded sound (e.g., voice messages, music files, etc.) and may also include sound generated by applications operating on device 950.
[0152] The computing device 950 may be implemented in a number of different forms, as shown in the figure. For example, it may be implemented as a cellular telephone 980. It may also be implemented as part of a smart phone 982, personal digital assistant, or other similar mobile device.
[0153] Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0154] These computer programs (also known as programs, software, software applications or code) include machine instructions for a programmable processor, and can be implemented in a high-level procedural and/or object-oriented programming language, and/or in assembly/machine language. As used herein, the terms machine-readable medium computer-readable medium refers to any computer program product, apparatus and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term machine-readable signal refers to any signal used to provide machine instructions and/or data to a programmable processor.
[0155] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0156] The systems and techniques described here can be implemented in a computing device that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a client computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0157] The computing device can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.