The present disclosure relates to methods of analysing spectral peaks. In particular, the present disclosure relates to methods of analysing spectral peaks generated using a spectrometer.
Spectrometry is an analytical technique for analysing a sample.
As such, a spectrometer may generate a plurality of spectral peaks from a sample. Part of the process of analysing the plurality of spectral peaks involves the identification of spectral peaks from the measurement data. The identification process typically involves fitting a curve to the measurement data in order to identify a peak location (and associated wavelength), and a peak intensity. The peak wavelength and intensity can be used to determine the element(s) present in the sample and the relative quantity of each element.
The process of fitting the curves to the measurement data typically involves an assumption about the peak shape. For example, “Quantification and deconvolution of asymmetric LC-MS peaks using the bi-Gaussian mixture model and statistical model selection”, Yu T., and Peng H., BMC Bioinformatics, 12 Nov. 2010 discusses a method for quantifying asymmetric chromatographic peaks measured using a Liquid Chromatography-Mass Spectrometry system. The method discussed uses a bi-Gaussian peak model to fit curves to the measurement data.
In spectrometry, spectral peaks generated from a sample may include two or more spectral peaks which have a similar wavelength. Consequently, when the spectral peaks are imaged on the detector, spectral peaks of a similar wavelength may overlap. Overlapping spectral peaks can result in an erroneous identification as a result of the interference between the overlapping spectral peaks.
When overlapping spectral peaks occur, a user may elect not to use the overlapping spectral peaks for further analysis. Abandoning the analysis of overlapping spectral peaks increases the time taken to analyse a sample, requires user input to review the overlapping peaks, and fails to take advantage of all of the available spectral data.
Alternatively, an inter-element correction algorithm can be applied to resolve the overlapping peaks, such as those described in “Interelement corrections in spectrochemistry”, Volker, T.; Schatzlein, D; and Mercuro, D., Spectroscopy, v. 21, n. 7, p. 32, July 2006. Performing inter-element correction may not be possible depending on the measurement circumstances, requires additional user effort, and may not always yield a correct result.
Accordingly, the present disclosure seeks to provide a method for analysing a spectral peak that tackles at least one of the problems associated with prior art methods, or at least, provide a commercially useful alternative thereto.
According to a first aspect, a method of operating a spectrometer controller is provided.
The method comprises:
According to the method of the first aspect, an interfered peak obtained by the spectrometer controller may be processed. In particular, the method of the first aspect processes interfered peaks which are produced by at least two spectral emissions of different wavelengths. The method of the first aspect provides a method for generating a curve set for the interfered peak in order to identify the underlying spectral emissions forming the interfered peak. As such, the method of the first aspect allows the different spectral emissions from interfered peaks to be characterised by generated curves (whose parameters include the peak intensity and peak wavelength of each of the spectral emissions) such that the information from the interfered peaks can be used for further analysis. That is to say, the method of the first aspect allows a user to utilize a greater proportion of the sample spectrum using a peak identification process that is computationally efficient and increases throughput by requiring less manual intervention by users.
In order to process the interfered peak, the method of the first aspect generates a curve set for the interfered peak. The present invention realises that the contribution to the overall shape of the interfered peak from each different spectral emission depends, at least in part, on the optical aberrations introduced by the spectrometer as a result of the detector and any associated optics. The degree of optical aberration is detector location dependent (the detector location having an associated wavelength). The location-variable nature of the optical aberration makes it challenging to accurately fit curves to an interfered peak using any conventional techniques in which it is assumed that each spectral emission across the detector has the same peak shape, and thus that that peak shapes are position-independent; any such assumption leads to inaccurate analysis due to the nature of the optical aberrations introduced by the spectrometer.
By accounting for the optical aberration of the spectrometer, the peak shape associated with each spectral emission may be more accurately generated. Accordingly, the contribution of each spectral emission to the interfered peak may be more accurately accounted for. For example, the area under the interfered peak may be more accurately attributed to one or more of the spectral emissions, thereby improving the accuracy of any subsequent analytical techniques based on the area under the associated peak.
In order to accurately generate a curve set for an interfered peak, the method of the first aspect provides a neural network technique to output a peak shape for each spectral emission forming the interfered peak. In some embodiments, the curve set associated with an interfered peak is the peak shape set output by the neural network technique, while in other embodiments, the peak shape set output by the neural network technique may be further modified in order to generate a curve set that includes a plurality of adjusted curves associated with the interfered peak. Each curve in a curve set associated with an interfered peak may have an associated peak wavelength and an associated peak intensity. The curves in the curve set can then be output by the method for further processing of the underlying spectral emissions forming the interfered peak.
In some embodiments, the neural network technique includes deploying a trained neural network to output an encoded representation of a peak shape associated with a spectral emission of an interfered peak based on data representative of the detector location of a spectral emission (and, in some embodiments, data representative of the peak intensity of the respective spectral emission). In some embodiments, the neural network technique may include applying a decoder to the output of the neural network to decode the encoded representation of each peak shape in order to generate a peak shape for each spectral emission associated with the interfered peak.
In some embodiments, the neural network is trained to predict a peak shape for each spectral emission based on a training data set including a plurality of training peaks. In some embodiments, each training peak is a single spectral emission associated with a different detector location, obtained by a spectrometer. That is to say, the training peaks have different wavelengths such that they are characterise spectral peaks that are distributed across the detector in a plurality of different detector locations. In some embodiments, at least some of the training data set is obtained by the same spectrometer used to generate the interfered peak. As such, the neural network may be trained using measurement data from the same spectrometer that generates the sample peaks to be processed, and thus the optical aberrations present in the sample spectra to be processed will also be present in the training data used to train the neural network. Accordingly, as the training data set may reflect the optical aberrations introduced by the spectrometer, the neural network may be trained to output peak shapes for the spectral emissions of an interfered peak which more accurately characterize the interfered peak than conventional methods.
In some embodiments, other spectrometers having the same type of detector may be used to generate one or more training peaks forming part of the training data set. That is to say, the other spectrometers may have a similar (preferably identical) detector and optical arrangement. For example, spectrometers of a similar model having generally similar components (detector, optical arrangement etc.) may have similar optical aberrations such that training peaks produced by one spectrometer may be used as part of a training data set for other spectrometers of a similar model. As such, the training data set may comprise training peaks from a plurality of spectrometers.
In some embodiments, the plurality of training peaks in the training data set is obtained by measurement of one or more calibration samples using the spectrometer. A calibration sample may be provided having a known composition, such that the resulting calibration spectrum has a plurality of known single-peak spectral sources (i.e., non-interfered peaks).
In some embodiments, the plurality of known single peaks may be distributed across the detector in order to allow the optical aberration of the spectrometer to be accurately characterised by the training peaks.
In some embodiments, the calibration sample comprises a single-element solution. In some embodiments, the single element solution comprises a transition metal. In particular, where the calibration sample is used to calibrate an optical emission spectrometer, transition metal spectra comprise a larger number of spectral emissions across a broad range of wavelengths. As such, calibration samples comprising a single-element transition metal solution are well-suited to providing a plurality of training peaks for a neural network used in the method of the first aspect.
In some embodiments, the spectrometer is a topological spectrometer. That is to say, the spectrometer is configured to produce a signal for which a feature-level representation of its shape (i.e. a function approximation) is topologically associated with the detector of the topological spectrometer. For example, a topological spectrometer may a detector, for example an array detector, which is configured to detect a signal which is topologically distributed across the detector. Examples of a topological spectrometer include an atomic emission spectrometer, an optical emission spectrometer, an x-ray fluorescence spectrometry system, and a laser-induced breakdown spectrometry system.
In some embodiments, the spectrometer comprises an echelle grating and a two-dimensional detector (i.e. a two-dimensional array detector), wherein the spectrometer generates the sample spectrum using the echelle grating to diffract light on to the two-dimensional detector. Such spectrometers distribute sample peaks across a two-dimensional detector as a plurality of orders. That is to say, the sample peaks are spatially distributed across the detector. Accordingly, the effect of optical aberration introduced by the spectrometer on the peak shape of spectral emissions and their associated wavelength may be highly non-linear. As such, methods of the first aspect are particularly well-suited to characterising the optical aberrations introduced by an echelle grating and associated optical elements.
In some embodiments, the method further comprises identifying a sample peak as an interfered peak. The step of identifying the sample peak as an interfered peak may be performed prior to spectrometer controller obtaining the interfered peak for the purpose of performing the method of the first aspect.
In some embodiments, identifying the sample peak as an interfered peak comprises calculating the first derivative of the sample peak, wherein the sample peak is determined to be an interfered peak when the number of zero-crossings of the first derivative of the sample peak is greater than one. As such, the method of the first aspect may identify interfered peaks for further analysis using an efficient analytical technique. In other embodiments, a user may specify specific peaks, or an area of a sample spectrum, as an interfered peak in order to be further processed in accordance with the first aspect.
In some embodiments, the associated detector location of each spectral emission in the interfered peak is determined based on the zero-crossings of the first derivative of the sample peak. As such, the process of determining whether a sample peak is an interfered peak may also be used to provide a starting point for the prediction of the curves forming the interfered peak. The peak wavelengths and peak intensities determined initially may then be further adjusted by the method of the first aspect using the neural network technique.
In some embodiments, the peak intensities determined by the controller may be provided to the neural network for the generating the associated curves. In some embodiments, the neural network uses the peak intensities to output one or more curves associated with the respective spectral emissions of the interfered peak. In some embodiments, peak intensity may not be provided to the neural network as an input, but may instead be applied to the output of the neural network (e.g., by scaling) to ensure that the curves in the resulting curve set have the correct peak intensities.
In some embodiments, the detector of the spectrometer is an array detector. By array detector, it is understood that the detector comprises a plurality of detecting elements (e.g. pixels) arranged as an array. The array may be a one-dimensional array or a two-dimensional array.
In some embodiments, the spectrometer is an atomic emission spectrometer, and the spectrometer controller is an atomic emission spectrometer controller. In particular, the spectrometer may be an optical emission spectrometer, and the spectrometer controller may be an optical emission spectrometer controller. The method of the first aspect may also be applied to other types of spectrometers (and associated controllers) such as an x-ray fluorescence spectrometry system, a laser-induced breakdown spectrometry system.
In some embodiments, a curve is output for each of the spectral emissions in the interfered peak. Each curve output may be used to directly predict the peak shape of the associated spectral emission.
In some embodiments, a comparison curve associated with a spectral emission is obtained by subtracting the curves for the other spectral emissions of the interfered peak from the interfered peak. It will be appreciated that the comparison curve may also indicate the peak shape of the associated spectral emission.
Ideally, the peak shape predicted by a comparison curve for a spectral emission should closely match the peak shape for the spectral emission directly predicted by the neural network. This relationship between the comparison curve and the directly predicted curve can be used as a cross check. Thus, in some embodiments, the method further comprises: performing a confidence analysis comprising comparing the comparison curve of the spectral emission to a curve output by the spectrometer controller for the same spectral emission, and determining a confidence level for the curve output by the spectrometer controller based on the comparison. The confidence level may be a numerical value (e.g. mean squared error), or one of a few discrete flags (e.g. pass/fail; green/amber/red) based on one or more threshold values for the difference between the two curves.
According to a second aspect of the disclosure, a spectrometer controller for a spectrometer is provided. The spectrometer controller is configured to:
As such, the spectrometer controller of the second aspect may be configured to perform the method of the first aspect. Accordingly, the spectrometer controller of the second aspect may incorporate any of the optional features, and associated advantages, of the first aspect.
The spectrometer controller of the second aspect may be provided using a spectrometer controller of a spectrometry system. In some embodiments, the spectrometer controller may comprise a processor (e.g., a microprocessor) or the like.
According to a third aspect of the disclosure, a spectrometry system is provided. The spectrometry system comprises a spectrometer and a spectrometer controller. The spectrometer comprises a detector. The spectrometer is configured to generate a sample spectrum from a sample using the detector. The spectrometer controller is configured to process the sample spectrum, wherein the controller further is configured to:
As such, the spectrometry system may comprise the spectrometer controller of the second aspect. The spectrometry system may be configured to perform the method of the first aspect. As such, it will be appreciated that the spectrometry system of the third aspect may incorporate any of the optional features, and associated advantages, of the first or second aspects discussed above.
In some embodiments, the spectrometer comprises a plasma source.
According to a fourth aspect of the disclosure, a computer program is provided. The computer program comprises instructions configured to, upon execution by one or more processing devices of the controller, cause the controller of the second aspect, or the spectrometry system of the third aspect, to execute the steps of the first aspect.
According to a fifth aspect of the disclosure, a computer-readable storage medium is provided, the computer-readable storage medium having stored thereon the computer program of the fourth aspect.
The invention may be put into practice in a number of ways and specific embodiments will now be described by way of example only and with reference to the figures in which:
According to an embodiment of the disclosure, a spectrometry system 10 is provided. The spectrometry system 10 is configured to perform a method of spectrometry on a sample in order to generate a sample spectrum. The spectrometry system 10 may also process a sample peak in the sample spectrum according to a method of this disclosure. A schematic diagram of the spectrometry system 10 is shown in
In the embodiment of
In the embodiment of
In the embodiment of
The processor 14 (controller) may comprise one or more commercially available microprocessors or any other suitable processing devices. The memory 15 can be a suitable semiconductor memory and may be used to store instructions allowing the processor 14 to carry out an embodiment of the method according to this disclosure. The processor 14 and memory 15 may be configured to control the spectrometry system 10 to perform methods according to embodiments of this disclosure. As such, the memory 15 may comprise instructions which, when executed by the processor 14, cause the spectrometry system 10 to carry out methods according to embodiments of this disclosure.
The spectrometry system 10 may be configured to generate a sample spectrum by introducing the sample to the excitation source 11. The excitation source 11 interacts with the sample wherein spectral emissions that are characteristic of the sample are emitted by the sample. The spectral emissions from the excitation source 11 and the sample are directed by the optical arrangement 12 to the detector 13. The echelle grating of the optical arrangement 12 diffracts the spectral emissions of different wavelengths by varying amounts such that peaks associated with the different spectral emissions are detected at different locations on the detector 13. As such, the location of a spectral emission on the detector 13, or a pixel number (x) representative of a detector location on which a spectral emission is incident, can be converted to wavelength based on a known relationship between detector location/pixel number and wavelength for the spectrometry system 10. Accordingly, spectrometry systems 10 according to this disclosure may refer to a wavelength of an interfered peak interchangeably with a detector location or pixel number of a detector 13.
Each spectral emission which is incident on the detector 13 may be detected as a peak which is incident across a plurality of pixels of the detector 13. The shape of the peak associated with spectral emission will depend, at least in part, on the optical arrangement 12 used to diffract and focus the spectral emission on the detector 13. For example, where the optical arrangement 12 comprises an echelle grating, the optical aberration introduced by the echelle grating will vary depending on the location on the detector 13 where the spectral emission is directed. As such, the shape of a peak measured by the spectrometry system 10 may depend on the detector location (representative of wavelength) of the peak. It will be appreciated that for some optical arrangements 12, the same wavelength may be diffracted to a plurality of locations on the detector 13. As such, while a detector location may be associated with a wavelength, a wavelength of a peak may be associated with a plurality of detector locations.
Where two spectral emissions have a similar wavelength, the peak associated with each spectral emission may be directed to a similar region of the detector. Where two spectral emissions are directed to a similar region of the detector such that at least a portion of one peak overlaps with another peak, the individual peaks can be challenging to resolve individually. These peaks are known as interfered peaks. In particular, the peaks can be challenging to resolve due to the variable optical aberration introduced by the optical arrangement, which can cause the peak shapes of individual spectral emissions to vary across a detector/with wavelength.
Accordingly, the spectrometry system 10 according to this disclosure provides a method of analysing an interfered peak of a sample spectrum in order to resolve the different spectral emissions forming the interfered peak.
Next, a method 100 of analysing a spectral peak of a sample spectrum will be described with reference to
In step 102 of the method 100, the processor 14 identifies if a sample peak of the sample spectrum is an interfered peak. The sample spectrum may comprise a plurality of peaks generated from spectral emissions of the spectrometry system 10. Interfered peaks are the result of two or more spectral emissions falling incident on the same region of the detector such that they overlap. That is to say, the peaks from two or more spectral emissions may be in close proximity on the detector (e.g., within about 20 pixels of each other in some spectrometry systems 10) such that at least a portion of the peak associated with each spectral emission overlaps with one or more other peaks of other spectral emissions.
In method 100, the interfered peak shown in
If an interfered peak is identified at step 102, the method 100 moves on to step 104 a curve set associated with the interfered peak is generated. In order to generate a curve set associated with an interfered peak, a neural network is used to output a peak shape for each spectral emission forming part of the interfered peak. In the example of
It will be appreciated that the method of
As discussed above, the neural network may be trained to output a peak shape based on data representative of the peak wavelength of a spectral emission (and, in some embodiments, peak intensity of the spectral emission). The peak shape output by the neural network may be an encoded peak shape, indicating a peak shape by a fixed number of parameters. The particular encoding output by the neural network may be one generated by an autoencoder trained on the training data set. A diagram of an autoencoder is given in
For training the neural network that will output peak shape information, a training peak may be provided to the trained encoder, and the output of the trained encoder may be a shape parameter vector (having a number of elements equal to the number of hidden nodes). As such, each training peak may be reduced to a shape parameter vector comprising a selected number of shape parameters (e.g., three shape parameters (p1, p2, p3) in the embodiment of
The neural network may then be trained on the shape parameter vectors representing the training peaks. In particular, the neural network may be trained on input-output pairs in which the input is data representative of the peak wavelength of a training peak (e.g., a detector location) and the output is the shape parameter vector of the training peak. When many training peaks associated with many different peak wavelengths across the detector 13 are used to train the neural network, the neural network may learn to predict the peak shape for a peak (the shape parameter vector) based on data representative of the peak wavelength (e.g., an input detector location/pixel number).
As discussed above, each training peak may be generated from a single spectral emission, wherein each of the plurality of training peaks has a different wavelength. The plurality of training peaks is taken from a range of different locations on the detector 13 (e.g., as illustrated in
Accordingly, the neural network may be trained as discussed above and then deployed to generate a peak shape (e.g., in the form of a vector of shape parameters, such as the vector (p1, p2, p3) discussed above with reference to
The method to be performed at step 104 of
In order to predict the shape of the peaks, the neural network is provided with an initial peak location (xn) of one or more spectral emissions incident on the detector (equivalent to wavelength, as discussed above) and an initial peak intensity (an) for each spectral emissions of the N spectral emissions in an interfered peak. Accordingly, in step 112, the processor 14 processes the interfered peak to determine the initial peak location (xn) and the initial peak intensity (an) (where n=1, 2, . . . N) (e.g., using the first-derivative technique discussed above, or any other suitable technique). Note that, although a single variable name (x) is given for the peak location, a peak location may be specified by a two-dimensional parameter (e.g., x- and y-pixels in a two-dimensional pixel arrangement for a detector).
As such, in step 112, the processor 14 assembles the initial parameters (x1, a1; x2, a2; . . . xN, aN) for the N peaks associated with the interfered peak. In the example of
In the example of
Based on the initial peak location (x) and the initial peak intensity (a), in step 114 the processor 14 outputs an initial identification of the curves using the neural network. As discussed above, the neural network algorithm is configured to output shape parameters (e.g., (pn1, pn2, pn3) for a three-dimensional encoded shape representation) for each of the N curves to be output. The decoder may then be used to decode the shape parameters to provide an initial identification of the curves forming the interfered peak.
In some embodiments, peak intensity may not be provided to the neural network as an input, but may instead be applied to the output of the neural network (e.g., by scaling) to ensure that the curves in the resulting curve set have the correct peak intensities.
For example, in
To further improve the fit of the fitted curves, in step 116 the processor 14 may further adjust the initially output curves. For example, the operations at step 116 may include shifting the locations of peaks (e.g., their associated peak wavelengths) to try to minimize the root-mean-square error (RMSE) between the summed curves and the measures sample spectrum. It will be appreciated that the adjustment step 116 is optional. As such, in some embodiments, the initially output curve set may be suitable for use in further analysis. Thus, in some embodiments the method may proceed directly from step 114 to step 106 of method 100.
Returning to the method 100 of
As an alternative to predicting a peak shape for an analyte of interest directly using the neural network, in some embodiments the processor 14 may predict the peak shapes for peaks which are interfering with a peak associated with an analyte of interest. The predicted peak shapes for the interfering peaks may then be subtracted from the original signal in order to determine a peak shape associated with the analyte of interest. That is to say, where an interfered peak is detected comprising e.g. three spectral emissions, two predicted peak shapes (associated with interfering peaks) may be subtracted from the interfered peak to leave only a single peak associated with the analyte of interest.
In some embodiments, the method 100 may be used to generate a curve for a spectral emission of an interfered peak. The generated curve may be used to improve a background correction method for the spectral emission as discussed further below.
According to methods of this disclosure 100, the interfered peak may be analysed in order to generate a curve set comprising three curves (Curve 1, Curve 2, Curve 3).
In some embodiments, the neural network technique may not include an initial encoding of the peak shapes, but instead may be structured to expect a class of possible mathematical distributions that may describe the observed peaks (e.g., Gaussian, Lorentzian, Bi-Gaussian, Gaussian plus Lorentzian, Lorentzian plus Gaussian, etc.) using techniques known in the art (e.g., selection of appropriate loss functions), and the neural network is free to infer the most appropriate ones during training. Additionally, in some embodiments, the neural network may itself perform the encoding of the peak shapes; for example, the neural network, via appropriate selection of an error function, may perform an encoding such that a parameter that shows the highest rate of change with location is selected as an encoding parameter.
Thus, it will be appreciated that a neural network technique may be used to generate peak shapes for individual spectral emissions forming part of an interfered peak. Accordingly, the neural network-based analysis method according to this disclosure may be used to determine information about individual spectral emissions forming part of an interfered peak. For example, information regarding the wavelength and intensity of different spectral emissions forming part of an interfered peak may be determined according to embodiments of this disclosure. This information (peak wavelength, peak intensity) may then be used to assist with identification and analysis of the sample.
In some embodiments, the neural network may be retrained during operation of the spectrometry system 10 after further training data has been generated and/or after corrections have been received from a user. For example, in some embodiments, the processor 14 may cause a display to request that the user mark regions of the fullframe (which may include some or all of the fullframe) in which the user wishes the peak shapes to be retrained (e.g., because the user is not satisfied with current performance).
Once one or more regions of the detector are identified for retraining, the processor may then determine a calibration sample to be used in the retraining process. For example, the processor 14 may then output a recommendation to the user (based on the most probable/most intense emissions falling in the selected region) of one or more calibration solutions to be prepared. Preferably, one or more of the calibration solutions are single-element standard solutions thereby avoiding inter-element interferences. The recommended calibration solutions are selected by the processor based on knowledge that the elements in the calibration solutions have non-interfered peaks in the desired detector areas identified previous. The processor may determine the calibration solutions by reference to a database of known spectral peaks for single element calibration solutions.
Once the user has these solutions ready, further training peaks may be obtained by the spectrometry system 10 in step 206. For example, the processor 14 may instruct the user on how to use the spectrometry system 10 to acquire spectra comprising the desired training peaks. The processor 14 may then request that the user review the spectra and check that the training peaks are not interfered by other peaks, or to otherwise mark training peaks as “interfered” or “not interfered.”
In step 208, the processor 14 may then perform the retraining of the neural network algorithm using the further training peaks. The processor 14 may then take the peaks selected as “not interfered” by the user and pre-process them by scaling their intensities and providing them to the encoder to produce an encoded representation of their shapes, as discussed above. The encoded representation of each further training peak, along with its peak location, will be used to retrain the neural network to improve the ability of the neural network to map peak location to peak shape. The resulting retrained model will be stored in a memory device (e.g., on the user's premises or in the cloud) and used for subsequent spectra.
As discussed above, it will be appreciated that a peak shape (curve) associated with a spectral emission may be obtained by directly predicting the curve from the interfered peak using the neural network. Alternatively, the peak shape associated with a spectral emission may be obtained by predicting curves for the other spectral emissions of the interfered peak and subtracting the predicted curves from the interfered peak.
In principle, the two methods of obtaining a peak shape for an analyte of interest should arrive at peak shapes which have a high degree of similarity. Where the two methods result in different peak shapes, such differences may indicate that further investigation is required. As such, comparing the curves generated by the two methods may provide an initial indication of that the predicted curves are an accurate reflection of the spectral emissions forming the interfered peak (i.e. a degree of confidence that the predicted curves are accurate). As such, in some embodiments, the method 100 may involve performing a confidence analysis 120 on the curve set obtained in step 104. The confidence analysis may be performed on the initial predictions of the curve set (see step 114) or on the adjusted curves output following step 116 of
For example, in step 126 the confidence analysis 120 may compare the first curve to the comparison curve by evaluating the difference between the two curves. Suitable algorithms for comprising the first curve and the comparison curve include root mean squared error, mean absolute error, Fréchet distance etc. Other algorithms suitable for numerically evaluating the difference(s) between two curves may also be used.
In some embodiments, the comparison of step 126 may generate a numerical value generated (e.g. root mean squared error). In step 128, the determined confidence level may be the numerical value calculated in step 126. In some embodiments, the numerical value may be scaled in order present the numerical value on a more user-friendly scale as a confidence value. In some embodiments, the numerical value may be compared to one or more predetermined thresholds, with a different confidence level assigned to different ranges for the numerical value. For example, in one embodiment the numerical value may be compared to a confidence threshold, wherein for root mean squared errors (or any other suitable algorithm and associated numerical values) no greater than the confidence threshold, a first confidence value may be assigned to the curve set indicating that the first curve and comparison curve are sufficiently similar. For root mean squared errors above the confidence threshold, a second confidence value may be assigned to the curve set indicating that the first curve and comparison curve have a relatively high degree of difference which could be further investigated.
As an example,
By contrast,
Accordingly, the spectrometry system 10 and methods according to this disclosure allow a user to analyse interfered peaks generated by a spectrometry system 10. In particular, a curve set may be generated which is associated with one or more of the spectral emissions forming the interfered peak, allowing said spectral emissions to be further analysed.
Number | Date | Country | Kind |
---|---|---|---|
2118411.4 | Dec 2021 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2022/085984 | 12/14/2022 | WO |