SYSTEM AND METHOD FOR CORRECTING X-RAY DIFFRACTION PROFILES
The embodiments described herein relate generally to correction methods X-ray diffraction profiles and, more particularly, to energy-based and angular-variation-based correction methods for X-ray diffraction profiles. At least some known detection systems are used at travel checkpoints to inspect containers, such as carry-on luggage and/or checked luggage, for concealed contraband, such as weapons, narcotics, and/or explosives. At least some such detection systems include X-ray imaging systems. An X-ray imaging system includes an X-ray source that transmits X-rays through a container towards a detector. An output of the detector is processed to identify a set of objects and/or materials within the container. In addition, at least some known detection systems include X-ray diffraction imaging (XDi) systems. At least some known XDi systems use inverse fan-beam geometry (a large source and a small detector) and a multi-focus X-ray source (MFXS) to detect objects and/or materials. Further, some known XDi systems provide an improved discrimination of materials, as compared to that provided by other known X-ray imaging systems, by measuring d-spacings between lattice planes of micro-crystals in materials. X-ray diffraction (XRD) may also yield data from a molecular interference function that may be used to identify other materials, such as liquids, in the container. Some known energy-dispersive XRD profiles that are measured with an electron impact X-ray source are normalized against an emission spectrum of the X-ray source to remove spectral structures, such as anode K characteristic lines and/or a non-uniform form of bremsstrahlung background. However, such known normalization significantly increases noise in the XRD profile, even when a primary spectrum of the X-ray source is substantially noise free. Further such known normalization suppresses genuine XRD peaks within a region where a bremsstrahlung curve has its peak intensity. A non-uniform emission spectrum of an electron impact X-ray source, or primary spectrum, is directly reflected in a shape of its energy-dispersive XRD profile. Such non-uniformity of the emission spectrum arises in two separate ways. First, a K alpha line, a K beta line, and a K edge of an anode of the X-ray source are characteristic effects arising from an interaction of high-energy electrons from a cathode with K shell electrons orbiting nuclei of the anode. Second, the bremsstrahlung or continuous component of the emission spectrum has non-uniformity originating from an interaction of high-energy electrons from the cathode with an electric field of the anode nuclei. In order to avoid adverse effects of the non-uniform primary spectrum on measured XRD spectra, the measured XRD spectra are often normalized against the primary spectrum. One known process of normalizing the measured XRD profile against the non-uniform primary spectrum essentially multiplies the measured XRD profile by varying weighting factors. For example, if a signal in a k-th channel of the measured spectrum is Skand a weighting factor for this channel is wk, a noise-to-signal ratio (NSR) can be calculated using the following equation, where RMS denotes the root mean square deviation: For Poisson statistics that govern photon scattering experiments, a minimum NSR is achieved when all of the weighting factors are equal to one another. As such, a compromise is made when correcting for the disturbing effects of the primary spectrum on the measured XRD profile. On one hand, removing non-uniformities from the measured XRD profile improves feature extraction and/or substance identification. On the other hand, known normalization processing effectively increases noise in the measured XRD data, especially for lower density objects, even when the primary spectrum form is substantially noise free. As such, known normalization processing may reduce detection rates and/or increase false alarms. Further, at least some known detection systems have a multiple-inverse fan-beam (MIFB) XDi topology, which has approximately 10% variation in an angle of scatter during a scan. Such scatter angle variations affect both the abscissa (momentum) and ordinate (intensity) scales of measured spectra. Further, at least some known XRD profile databases used with MIFB XDi systems include XRD profiles of known substances acquired at a reference scatter angle θR. When the actual scatter angle of the measured spectra vary from the reference scatter angle θR, the scanned object may not be accurately identified. In known MIFB XDi systems, a certain object voxel is traversed by primary rays from several different X-ray source foci I directed to corresponding detector elements J. An actual angle of scatter θIJis given by the relationship: where γ is an angle that a primary ray from the I-th focus to the J-th detector element makes with an X-axis, and θ is an ideal scatter angle. In one example, cos γ has a minimum value of ˜0.9 and, as such, the actual angle of scatter θIJis reduced relative to its maximum value by this proportion. The relationship between momentum transfer x and the actual scatter angle θ is: where E is photon energy, h is Planck's constant, and c is the speed of light. As such, the correct value of θIJfrom Equation 2 is incorporated into Equation 3 to correctly transform the photon energy scale E into a momentum scale x. However, because the primary spectrum is non-uniform, it is not sufficient to only transform the energy scale E into a correct momentum scale x. More specifically, the photon intensity at energy E1corresponding to a momentum x for an angle θ1is different than the photon intensity at energy E2corresponding to the same momentum x for an angle θ2. However, the above-described known method does not transform a photon intensity scale to produce measured XRD profiles that are comparable to the reference XRD profiles. In one aspect, a method for correcting an X-ray diffraction (XRD) profile measured by an X-ray diffraction imaging (XDi) system is provided. The XDi system includes an anode, a detector, and a control system. The method includes obtaining an emission spectrum of the anode using the control system. The emission spectrum includes spectral structures. The method further includes calculating a piecewise spectral-correction function using the spectral structures in the emission spectrum, obtaining a measured spectrum of an object, and applying the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum. In another aspect, a control system for use with an X-ray diffraction imaging (XDi) system is provided. The XDi system includes a radiation source configured to generate a primary beam of radiation, wherein the radiation source has an anode, and a detector configured to detect radiation scattered by an interaction of the primary beam with an object. The control system is configured to obtain an emission spectrum of the anode, wherein the emission spectrum including spectral structures, calculate a piecewise spectral-correction function using the spectral structures in the emission spectrum, obtain a measured spectrum of an object, and apply the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum. In yet another aspect, an X-ray diffraction imaging (XDi) system is provided. The XDi system includes a radiation source configured to generate a primary beam of radiation, wherein the radiation source has an anode, a detector configured to detect radiation scattered by an interaction of the primary beam with an object, and a control system coupled in communication with the detector. The control system is configured to obtain a measured spectrum detected by the detector at a first scatter angle, perform a spectral-correction procedure on the measured spectrum to remove spectral structures from an emission spectrum of the anode, and perform an angular-correction procedure on the measured spectrum to transform the measured spectrum from the first scatter angle to a second scatter angle. The embodiments described herein provide a low-noise spectral-correction procedure and an angular-variation correction procedure that can be used in conjunction with the spectral-correction procedure. The spectral-correction procedure makes use of a priori knowledge of energies of the K lines and K edge of an anode to derive a corrected X-ray diffraction XRD profile that would have been measured in the absence of K structures of the anode. In addition to being low-noise, the spectral-correction procedure significantly enhances amplitudes of measured XRD peaks near a maximum in a bremsstrahlung curve as compared with the previous correction procedures. Of the two types of beam non-uniformity discussed above, the non-uniformity associated with K structures is the more serious of the two. As such the spectral-correction procedure described herein removes the K structure non-uniformity without removing the bremsstrahlung non-uniformity. Such an approach is taken for three main reasons. First, the K peaks and the K edge interfere more with detection of Bragg peaks in the measured spectrum than does the smoothly varying bremsstrahlung component. Second, a ratio of a number of photons under the K peaks to a total number of photons in the measured spectrum is only about 10%. As such, the K structures can be removed without appreciably degrading a signal-to-noise ratio. Third, there is a satisfactory theory, such as Kuhlenkampff's equation, describing a shape of the continuous component of non-uniformity, so an effect of the continuous component can be corrected for, if necessary. Further, the angular-variation correction procedure described herein transforms energy-dispersive XRD spectra to a common intensity and momentum scale, irrespective of actual scatter angle. As such, the angular-variation correction procedure correctly transforms both the energy and intensity of the photon spectrum from an electron impact X-ray source. Accordingly, the herein-described angular-variation correction procedure can transform a measured XRD spectrum at any actual scatter angle θ to a reference scatter angle. In the exemplary embodiment, transmission detector 24 includes a plurality of detector elements 38. More specifically, detector elements 38 are each configured to detect radiation from primary rays 34 that are transmitted through object 12 within object space 18. Furthermore, scatter detector 26 includes a plurality of scatter detector elements 40 that are configured to detect coherent scattered radiation 42 generated when a primary ray 34 interacts with object 12. MFXS 14 is located on a lower support surface, such as a floor, while transmission detector 24 and scatter detector 26 are located on an upper support structure, such as a ceiling. In an alternative embodiment, MFXS 14 is located on the upper support structure, and transmission detector 24 and scatter detector 26 are located on the lower support surface. Furthermore, in the exemplary embodiment, MFXS 14, transmission detector 24, and scatter detector 26 are stationary, and support 20 is a conveyor belt capable of movement backward and forward in a direction substantially parallel to a Z-axis. In the exemplary embodiment, object space 18 is defined between transmission detector 24 and MFXS 14. In one embodiment, object space 18 is a baggage tunnel through which the conveyor belt moves. In an alternative embodiment, MFXS 14, transmission detector 24, and scatter detector 26 are capable of coordinated movement at least in a direction substantially parallel to the Z-axis, and support 20 is stationary. In certain alternative embodiments, MFXS 14, transmission detector 24, scatter detector 26, and support 20 are each capable of moving. In the exemplary embodiment, MFXS 14 is configured to emit X-ray radiation sequentially or simultaneously from a plurality of focus points 28 distributed along MFXS 14 in a direction substantially parallel to a Y-axis. In the exemplary embodiment, MFXS 14 has focus points 28. In the exemplary embodiment, MFXS 14 has any suitable number of focus points 28 that enables detection system 10 to function as herein described. Detection system 10 is designed such that each focus point 28 lies at a point on a straight line 30 that is substantially parallel to the Y-axis. Referring to A portion of the X-ray radiation from each primary ray 34 typically is scattered in various directions upon interaction with object 12 in object space 18. Secondary collimator 22 is configured to facilitate ensuring that a portion of scattered radiation 42 arriving at each scatter detector element 40 has a constant scatter angle θ with respect to corresponding primary ray 34 from which scattered radiation 42 originated. For example, secondary collimator 22 is configured to absorb scattered radiation that is not parallel to the direction of scattered radiation 42. Further, although in the exemplary embodiment secondary collimator 22 and scatter detector elements 40 are positioned on one side of primary rays 34 with respect to the Z-axis, in alternative embodiments secondary collimator 22 and scatter detector elements 40 may be positioned on the other side, or on both sides, of primary rays 34 with respect to the Z-axis. In the exemplary embodiment, transmission detector 24 and scatter detector 26 are in electronic communication with a number of channels 44. In a particular embodiment, the number of channels 44 is selected based on the configuration of detection system 10. In the exemplary embodiment, channels 44 electronically communicate data collected by transmission detector 24 and each scatter detector element 40 to a control system 46. Control system 46 combines an output from transmission detector 24 and outputs from scatter detector elements 40 to generate information about object 12 within object space 18. For example, but not by way of limitation, control system 46 may generate multi-view projections, section images, and/or an X-ray diffraction (XRD) profile of object 12 to facilitate identifying a location in the container of specific materials detected by XDI analysis. Images, information, results, alarms, and/or any other suitable data generated by control system 46 can be output to a display 48 and/or a storage device 50. For example, control system 46 stores data, an XRD profile, and/or an image in storage device 50. Examples of storage device 50 include a nonvolatile memory, such as a read only memory (ROM), and a volatile memory, such as a random access memory (RAM). Other examples of storage device 50 include a floppy disk, a compact disc-ROM (CD-ROM), a magneto-optical disk (MOD), and a digital versatile disc (DVD). Further, control system 46 also receives commands and scanning parameters from an operator (not shown) via an operator console (not shown). Display 48 allows the operator to observe an XRD profile and other data from control system 46. The operator supplied commands and parameters are used by control system 46 in operation of components of detection system 10. Moreover, in the exemplary embodiment, control system 46 uses computer algorithms to analyze a generated XRD profile with XRD profiles of known contraband materials. If a match is found, control system 46 sounds an alarm and/or displays an image of object 12 on display 48 such that the operator may view the image to determine whether a real threat exists. Control system 46 is not limited to only those integrated circuits referred to in the art as a control system, but broadly refers to a controller, a computer, a processor, a microcontroller, a microcomputer, a programmable logic controller, an application specific integrated circuit, firmware, a circuit, software, and/or any other programmable circuit. Control system 46 may be a portion of a central control unit (not shown) or may be a stand-alone component. Further, control system 46 is configured to perform the methods described herein. In the exemplary embodiment, method 100 includes a noise-correction procedure 102 and an angular-variation-correction procedure 104. In one embodiment, noise-correction, or spectral-correction procedure 102 is performed without performing angular-variation-correction procedure 104. In an alternative embodiment, angular-variation-correction procedure 104 is performed without performing noise-correction procedure 102. Further, although a tungsten anode tube is described herein with respect to method 100, it should be understood that method 100 can be used with any suitable anode. When another type of anode is used with method 100, energy values and/or photon density will vary from the energy values and photon densities described herein. Referring to Spectral-correction procedure 102 derives corrected emission spectrum SC(E) that is free of K structures from an original emission spectrum S(E) by dividing emission spectrum S(E) into three energy bands. More specifically, windows 208, 210, and 202 are defined 108 on emission spectrum S(E) based on energies of the spectral structures of emission spectrum S(E). In the exemplary embodiment, a first window 208 is defined 108 from a beginning point 214 of emission spectrum S(E) to a center 216 of Kβ peak 204 (E0≦E≦E1), a second window 210 is defined 108 from center 216 of Kβ peak 204 to an end 208 of K edge 206 (E1≦E≦E2), and a third window 212 is defined 108 from end 218 of K edge 206 to an end point 220 of emission spectrum S(E) (E2≦E≦EE). In the exemplary embodiment, energy E1is approximately equal to 67.5 kilo-electron volts (keV) and energy E2is approximately equal to 71.8 keV. Once windows 208, 210, and 212 are defined 108, windows 208, 210, and 212 are used to calculate 110 spectral-correction function Ss(E) (shown in Within first window 208, spectral bands 222 and 224 are defined on either side of Kα peak 202. For example, first spectral band 222 is defined between energy E3and energy E4, and second spectral band 224 is defined between energy E5and energy E6. Knowledge of the anode material, such as tungsten, and the energy of its characteristic lines permits spectral bands 222 and 224 to be located accurately. As an example for tungsten emission spectrum S(E), low-energy spectral band 222 is defined between energy E3that is approximately equal to 54 keV and energy E4that is approximately equal to 56 keV, and high-energy spectral band 224 is defined between energy E5that is approximately equal to 63.5 keV and energy E6that is approximately equal to 65.5 keV. An average number of photon counts in each spectral band 222 and 224 is determined and a straight line L(E) is fit through centers of spectral bands 222 and 224. Control system 46 (shown in To calculate 110 spectral-correction function Ss(E) within first window 208, emission spectrum S(E) from energy E0to energy E1is divided by a corresponding value of straight line L(E) at each energy value. If the result of the division is less than unity (e.g. 1), for example 0.5, spectral-correction function Ss(E) is set to unity. As such, in regions of Kα peak 202 and Kβ peak 204, a value of spectral-correction function Ss(E) is greater than unity. Spectral-correction function Ss(E) from energy E0to energy E1is generally equal to unity and only the K lines are superimposed. In mathematical form, spectral-correction function Ss(E) within first window 208 is calculated 110 as: As such, a first window portion of spectral-correction function Ss(E) is defined using the ratio of emission spectrum S(E) to straight line L(E) and unity according to Equation 4. Within second window 210, the ratio of amplitude of emission spectrum S(E) to that of straight line L(E), whether greater or less than unity, is evaluated and stored by control system 46 as spectral-correction function Ss(E). In mathematical form, spectral-correction function Ss(E) within second window 210 is calculated 110 as: As such, a second window portion of spectral-correction function Ss(E) is defined as the ratio of emission spectrum S(E) to straight line L(E). Within third window 212, an average number of photon counts is determined by control system 46. A ratio of the average number of photon counts to a height of straight line L(E) is stored as a K-edge ratio KRby control system 46. In a particular embodiment, K-edge ratio KRis equal approximately 0.67. To calculate 110 spectral-correction function Ss(E), a numerical difference between unity and K-edge ratio KRis multiplied by a function that is unity at energy E2and exponentially decreases with increasing photon energy. In mathematical form, spectral-correction function Ss(E) within third window 212 is calculated 110 as: where γ is a factor that describes a speed of relaxation based on a material of anode 15. More specifically, at K edge 206, spectral-correction function Ss(E) has a value equal to K-edge ratio KRand increasingly approaches unity as the energy above K edge 206 increases. The approach of spectral-correction function Ss(E) to unity is considered to the relaxation associated with factor γ in Equation 6. In a particular embodiment, factor γ is equal to approximately 0.1. In the exemplary embodiment, a third window portion of spectral-correction function Ss(E) is defined as the multiplication in Equation 6. Calculation 110 yields a piecewise spectral-correction function Ss(E) in the form shown in Referring again to More specifically, in photon emission spectrum S(E) (shown in Referring to Using first calibration spectrum I(θ1) and second calibration spectrum I(θ2), an angular-correction function F(x) is calculated 122. More specifically, angular-correction function F(x) is calculated 122 by dividing first calibration spectrum I(θ1) by second calibration spectrum I(θ2). In mathematical form, angular-correction function F(x) is calculated 122 as: Referring to The embodiments described herein provide correction procedures for spectral structures and variations of scatter angle in XRD spectra. More specifically, the spectral-correction procedure described herein effectively removes spectral structures from a primary emission spectrum while minimizing any noise introduced into a measured spectrum. Further, the above-described angular-variation correction procedure transforms all XRD profiles to have identical momentum scales and intensity distributions, irrespective of the actual angle of scatter, requires only one set of XRD library profiles for all scatter angles, which speeds processing and reduces storage requirements, and allows all XRD profiles belonging to the same object voxel to be combined with one another by a simple addition operation. A technical effect of the systems and methods described herein includes at least one of: (a) obtaining an emission spectrum of the anode using the control system, the emission spectrum including spectral structures; (b) calculating a piecewise spectral-correction function using the spectral structures in the emission spectrum; (c) obtaining a measured spectrum of an object; (d) applying the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum; and (e) correcting the spectrally-corrected measured spectrum for variation in scatter angle. Exemplary embodiments of systems and methods for correcting X-ray diffraction profiles are described above in detail. The methods and systems are not limited to the specific embodiments described herein, but rather, components of systems and/or steps of the methods may be utilized independently and separately from other components and/or steps described herein. For example, the methods may also be used in combination with other imaging systems and methods, and are not limited to practice with only the detection systems and methods as described herein. Rather, the exemplary embodiment can be implemented and utilized in connection with many other data correction applications. By way of example and not limitation, computer readable media include computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embody computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism and include any information delivery media. Combinations of any of the above are also included within the scope of computer readable media. Although described in connection with an exemplary detection system environment, the embodiments described herein are operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known computing systems, environments, and/or configurations that may be suitable for use with aspects of the disclosure include, but are not limited to, mobile computing devices, personal computers, server computers, hand-held or laptop devices, multiprocessor systems, microprocessor-based systems, programmable electronics, mobile telephones, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. Embodiments of the disclosure may be described in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. The computer-executable instructions may be organized into one or more computer-executable components or modules. Generally, program modules include, but are not limited to, routines, programs, objects, components, and data structures that perform particular tasks or implement particular abstract data types. Aspects of the embodiments may be implemented with any number and organization of such components or modules. For example, aspects of the embodiments are not limited to the specific computer-executable instructions or the specific components or modules illustrated in the figures and described herein. Other embodiments of the disclosure may include different computer-executable instructions or components having more or less functionality than illustrated and described herein. Aspects of the disclosure transform a general-purpose computer into a special-purpose computing device when configured to execute the instructions described herein. Further, the order of execution or performance of the operations in embodiments illustrated and described herein is not essential, unless otherwise specified. That is, the operations may be performed in any order and/or simultaneously, unless otherwise specified, and embodiments may include additional or fewer operations than those disclosed herein. For example, it is contemplated that executing or performing a particular operation before, contemporaneously with, or after another operation is within the scope of aspects of the disclosure. Although specific features of various embodiments of the invention may be shown in some drawings and not in others, this is for convenience only. In accordance with the principles of the invention, any feature of a drawing may be referenced and/or claimed in combination with any feature of any other drawing. This written description uses examples to disclose the invention, including the best mode, and also to enable any person skilled in the art to practice the invention, including making and using any devices or systems and performing any incorporated methods. The patentable scope of the invention is defined by the claims, and may include other examples that occur to those skilled in the art. Such other examples are intended to be within the scope of the claims if they have structural elements that do not differ from the literal language of the claims, or if they include equivalent structural elements with insubstantial differences from the literal language of the claims. A method for correcting an X-ray diffraction (XRD) profile measured by an X-ray diffraction imaging (XDi) system is provided. The XDi system includes an anode, a detector, and a control system. The method includes obtaining an emission spectrum of the anode using the control system. The emission spectrum includes spectral structures. The method further includes calculating a piecewise spectral-correction function using the spectral structures in the emission spectrum, obtaining a measured spectrum of an object, and applying the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum. 1. A method for correcting an X-ray diffraction (XRD) profile measured by an X-ray diffraction imaging (XDi) system that includes an anode, a detector, and a control system, said method comprising:
obtaining an emission spectrum of the anode using the control system, the emission spectrum including spectral structures; calculating a piecewise spectral-correction function using the spectral structures in the emission spectrum; obtaining a measured spectrum of an object; and applying the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum. 2. A method in accordance with 3. A method in accordance with defining a first window from a beginning point of the emission spectrum to a center of the Kβ peak; defining a second window from the center of the Kβ peak to an end of the K edge; and defining a third window from the end of the K edge to an end point of the emission spectrum. 4. A method in accordance with defining a spectral band on each side of the Kα peak; fitting a straight line to the spectral bands; calculating a ratio of the emission spectrum to the straight line; and defining a first window portion of the piecewise spectral-correction function using the ratio and unity. 5. A method in accordance with 6. A method in accordance with calculating a K edge ratio of an average number of photon counts to a height of the straight line; multiplying a numerical difference between unity and the K edge ratio by a function that is unity at an energy of the K edge and exponentially decreases with increasing photon energy; and defining a third window portion of the piecewise spectral-correction function as the multiplication. 7. A method in accordance with 8. A method in accordance with 9. A method in accordance with obtaining a first calibration spectrum that is generated by scanning a calibration substance and detecting scattered radiation at a first scatter angle; obtaining a second calibration spectrum that is generated by scanning the calibration substance and detecting scattered radiation at a second scatter angle different than the first scatter angle; and calculating an angular-correction function using the first calibration spectrum and the second calibration spectrum. 10. A method in accordance with 11. A method in accordance with 12. A control system for use with an X-ray diffraction imaging (XDi) system comprising a radiation source configured to generate a primary beam of radiation, the radiation source comprising an anode, and a detector configured to detect radiation scattered by an interaction of the primary beam with an object, said control system configured to:
obtain an emission spectrum of the anode, the emission spectrum including spectral structures; calculate a piecewise spectral-correction function using the spectral structures in the emission spectrum; obtain a measured spectrum of an object; and apply the spectral-correction function to the measured spectrum to generate a spectrally-corrected measured spectrum. 13. A control system in accordance with 14. A control system in accordance with 15. A control system in accordance with define a spectral band on each side of the Kα peak; fit a straight line to the spectral bands; calculate a ratio of the emission spectrum to the straight line; and define the first portion of the piecewise spectral-correction function using the ratio and unity. 16. A control system in accordance with 17. A control system in accordance with calculating a K edge ratio of an average number of photon counts to a height of a straight line that is fit to spectral bands adjacent to the Kα peak; multiplying a numerical difference between unity and the K edge ratio by a function that is unity at an energy of the K edge and exponentially decreases with increasing photon energy; and defining the third portion of the piecewise spectral-correction function as the multiplication. 18. An X-ray diffraction imaging (XDi) system comprising:
a radiation source configured to generate a primary beam of radiation, said radiation source comprising an anode; a detector configured to detect radiation scattered by an interaction of the primary beam with an object; and a control system coupled in communication with said detector, said control system configured to:
obtain a measured spectrum detected by said detector at a first scatter angle; perform a spectral-correction procedure on the measured spectrum to remove spectral structures from an emission spectrum of said anode; and perform an angular-correction procedure on the measured spectrum to transform the measured spectrum from the first scatter angle to a second scatter angle. 19. An XDi system in accordance with calculating a piecewise spectral-correction function using energies of the spectral structures in the emission spectrum; and applying the spectral-correction function to the measured spectrum. 20. An XDi system in accordance with obtaining a first calibration spectrum that is generated by scanning a calibration substance and detecting scattered radiation at a first scatter angle; obtaining a second calibration spectrum that is generated by scanning the calibration substance and detecting scattered radiation at a second scatter angle different than the first scatter angle; calculating an angular-correction function by dividing the first calibration spectrum by the second calibration spectrum; and applying the angular-correction function to the measured spectrum. BACKGROUND OF THE INVENTION
θIJ=θ·cos γ (Eq. 2)BRIEF SUMMARY OF THE INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF THE INVENTION