Method for measurement of ion events
11232934 · 2022-01-25
Assignee
Inventors
Cpc classification
H01J49/0036
ELECTRICITY
H01J49/025
ELECTRICITY
International classification
Abstract
A method of processing an input data stream including at least one data peak (2), comprising: detecting at least one peak (2) in the input data stream having an apex with an amplitude above a predetermined threshold (4); and extrapolating (30) the segment of the peak which has an amplitude above the predetermined threshold (7, 8), based on a shape characteristic of the peak (2), to estimate the amplitude of the segments of the peak which have an amplitude less than said threshold (15, 16).
Claims
1. A mass spectrometer comprising: an ion source; an analyser; an ion detector producing a data stream; and a processor configured or programmed to: detect at least one peak in the data stream having an apex with an amplitude above a predetermined threshold; and extrapolate the segment of the peak which has an amplitude above the predetermined threshold, based on a shaped characteristic of the peak, to estimate the amplitude of the segments of the peak which have an amplitude less than said threshold; produce a filtered data stream, comprising applying a predetermined threshold to the input data stream, such that the filtered data stream contains only the segment of the peak above the predetermined threshold; and compile a compensated data stream including the filtered data and extrapolated peak data.
2. A mass spectrometer according to claim 1, wherein the detecting at least one peak comprises detecting at least one of the leading edge, apex or trailing edge of the peak.
3. A mass spectrometer according to claim 1, wherein the processor is configured or programmed to produce a filtered data stream, comprising applying a predetermined threshold to the input data stream, such that the filtered data stream contains only the segment of the peak above the predetermined threshold.
4. A mass spectrometer according to claim 1, wherein if the amplitude of the input data stream at a time T.sub.n is less than said threshold, the amplitude in the filtered data stream at time T.sub.n is set to one of zero or a constant.
5. A mass spectrometer according to claim 3, wherein the processor is configured or programmed to: compile a compensated data stream including the filtered data stream and extrapolated peak data.
6. A mass spectrometer according to claim 1, wherein the processor is configured or programmed to: sum the estimated amplitude of extrapolated peak data and the filtered data stream over time.
7. A mass spectrometer according to claim 1, wherein the processor is configured or programmed to estimate a shape characteristic of the peak.
8. A mass spectrometer according to claim 1, wherein the extrapolating comprises: detecting the time, T.sub.T, at which the amplitude of the trailing edge of the peak in the input data stream falls below the predetermined threshold; and estimating the amplitude of the peak at time T.sub.T by applying a decay function, based on the shape characteristic, to the amplitude of the data peak at time T.sub.T−1, above the predetermined threshold.
9. A mass spectrometer according to claim 8, wherein the extrapolating further comprises: estimating the amplitude of the peak at time T.sub.n by applying the decay function, based on the shape characteristic of the peak, to the estimated amplitude of the peak at time T.sub.n−1; and iteratively applying the decay function for all values of n until the amplitude of the input data stream at time T.sub.n is greater than or equal to the predetermined threshold, or the estimated amplitude at time T.sub.n is substantially equal to zero, a mean of the baseline, or a constant.
10. A mass spectrometer according to claim 8, wherein the applying the decay function comprises multiplying the amplitude of the peak at time T.sub.n−1 by a constant decay value between 0 and 1.
11. A mass spectrometer according to claim 1, wherein the extrapolating comprises: detecting the time, T.sub.L, at which the amplitude of the leading edge of the peak in the input data stream increases above the predetermined threshold; and applying a growth function, based on the shape characteristic, to the amplitude of the data peak at time T.sub.L, to produce an estimated amplitude of the peak at time T.sub.L−1.
12. A mass spectrometer according to claim 11, wherein the extrapolating further comprises: estimating the amplitude of the peak at time T.sub.n−1 by applying a growth function, based on the shape characteristic of the peak, to the estimated amplitude of the peak at time T.sub.n; and iteratively applying the growth function for all values of n until the amplitude of the input data stream at time T.sub.n−1 is greater than or equal to the predetermined threshold; or the estimated amplitude at time T.sub.n−1 is less than or substantially equal to zero, a mean of the baseline, or a constant.
13. A mass spectrometer according to claim 11, wherein the growth function is linear.
14. A mass spectrometer according to claim 11, in which the amplitude at time T.sub.n−1 is estimated by subtracting a predetermined constant from the estimated amplitude at time T.sub.n.
15. A mass spectrometer according to claim 11, wherein the growth function is based on the rate of change of at least part of the segment of the input data stream which is above the predetermined threshold.
16. A mass spectrometer according to claim 1, wherein if the input data stream includes two or more peaks, and extrapolation of the respective peaks generates conflicting estimates for the amplitude at a time T, the highest of those estimates is selected for time T.
17. A mass spectrometer according to claim 1, in which the input data stream comprises a signal output from an ion detector, a voltage signal, ion signal, ion current voltage pulse or an electron current pulse, or the output of an analogue to digital converter of an ion detector of a mass spectrometer.
18. A mass spectrometer according to claim 17, wherein the processor is configured or programmed to apply a smoothing function to the input data stream using a finite impulse response or infinite impulse response filter.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) Embodiments of the present invention will now be described, by way of example only, with reference to the Figures in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DESCRIPTION
(10) As discussed above,
(11)
(12) With reference to
(13) A method embodying the present invention extrapolates the data peak 2 of the filtered data stream 20. More specifically, a method embodying the present invention extrapolates the segment of the peak 2 above the predetermined threshold 4. The data peak 2 is extrapolated based on a shape characteristic of the peak 2, to estimate the amplitude of the peak 2 when the amplitude of the input data stream 1 is less than the predetermined threshold 4. Extrapolation is performed on either side of the data peak 2; that is to say for both the leading edge 7 and trailing edge 8. It will be noted from
(14) Ion detection systems generally incorporate avalanching devices to multiply the incoming single ions into enough electron current to be readily detectable by the system's electronic acquisition system. Existing detection systems include for example a photo-multiplier tube, a multi channel plate (MCP) or an electron-multiplier. The invention will be described with reference only to a PMT based system. The photo-multiplier tube is effectively a pulsed output current source, and so the wave shape at the ADC input consists of a very rapid rise to a peak value, which then decays substantially exponentially. For example, the output may rise from the mean level (or zero) to a peak value over just one ADC sample time unit; and may then decay to 90% of its previous value with each additional ADC sample time unit.
(15) As a consequence, the profile of the leading edge 7 of the data peak 2 in
(16)
Leading Edge Extrapolation
(17) Referring to
(18) It will be appreciated that this method involves extrapolating backwards. Therefore, the estimated amplitude of the input data stream 1 when below the predetermined threshold 4 can only be calculated after the amplitude of the input data stream 1 has risen above the predetermined threshold 4.
(19) A method of extrapolating the leading edge 7 of a data peak 2 embodying the present invention comprises identifying the leading edge crossover point 13 of a data peak 2. The leading edge crossover point 13 is identified when the amplitude of the data peak 2 increases from below the predetermined threshold 4 to above the predetermined threshold 4. The time at which the leading edge crossover point 13 occurs is referred to herein as T.sub.L (see
(20) A method embodying the present invention subsequently estimates the amplitude of the data peak 2 at a previous time interval, T.sub.L−1, by applying a growth function to the measured amplitude of the data peak 2 at time T.sub.L. The growth function is based on a shape characteristic of the peak. The amplitude of the leading edge 7 at time T.sub.L−1 will be lower than the amplitude of time T.sub.L.
(21) The growth function may be predetermined, based on the anticipated shape characteristic of the peak. In one embodiment, a shape characteristic may be determined for each peak being measured.
(22) For example, the shape characteristic may be determined or estimated by assessing the amplitude of the leading edge 7 at two or more sample times when above or equal to the predetermined threshold 4. The rate of change of the amplitude between the two sample times may be used to estimate the rate of linear increase of the amplitude of the leading edge 7. This is the growth function.
(23) The method iteratively applies the growth function to the estimated amplitude of the peak at a given time T.sub.n, to produce an estimated amplitude of the peak at time T.sub.n−1. Thus, the amplitude of the leading edge 7 at time T.sub.L−2 will be estimated by applying the growth function to the estimated amplitude of the leading edge at time T.sub.L−1
(24) A method embodying the present invention continues to extrapolate the leading edge 7 backwards until the estimated amplitude is less than or substantially equal to the mean 9 of the baseline (or zero); or when the amplitude of the input data stream 1 at time T is equal to or greater than the predetermined threshold 4 (due to, for example, the data stream including the trailing edge 8 of another peak 2 immediately before the leading edge 7 being extrapolated).
(25)
(26) Although the growth function in the example described above is linear, the method may adopt any growth function. For example, the leading edge 7 may be determined or estimated to increase substantially exponentially, in which case an exponential growth function may be adopted to extrapolate the leading edge 7.
Trailing Edge Extrapolation
(27) Extrapolating the trailing edge 8 of the data peak 2 is similar to extrapolating the leading edge 7, in so far as the amplitude (either measured or estimated) at one time interval is used to estimate the amplitude at an adjacent time interval.
(28) A method of extrapolating the trailing edge 8 of a data peak 2 embodying the present invention comprises identifying the trailing edge crossover point 14 of a data peak 2. The trailing edge crossover point 14 is identified when the amplitude of the data peak 2 decreases from above the predetermined threshold 4 to below the predetermined threshold 4. The time at which the trailing edge crossover point 14 occurs is referred to herein as T.sub.T (see
(29) A method embodying the present invention estimates the amplitude of the data peak 2 at a subsequent time interval, T.sub.T+1, by applying a decay function to the amplitude of the data peak 2 at time T.sub.T. The decay function is based on the shape characteristic of a peak 2.
(30) To estimate the amplitude of the peak at a time T.sub.n, the method iteratively applies the decay function to the estimated amplitude of the peak 2 at a previous time interval T.sub.n−1.
(31) A method embodying the present invention continues to extrapolate the trailing edge 8 forwards until the estimated amplitude at a time T.sub.n is substantially equal to the mean 9 of the baseline (or zero); or the measured amplitude of the input data stream at a time T.sub.n is greater than or equal to the predetermined threshold 4 (due to, for example, the data stream 1 including the leading edge 7 of another peak 2 immediately after the trailing edge 8 of the peak being extrapolated).
(32) Preferably, the decay function used to extrapolate the trailing edge 8 is a constant. The step of applying the decay function comprises multiplying the amplitude of the peak at a time T.sub.n−1 by a constant decay value between 0 and 1, to estimate the amplitude at time T.sub.n.
(33)
(34) Although the decay function in the example described above is exponential, the method may adopt any decay function. For example, the trailing edge 8 may be determined or estimated to decrease substantially linearly, in which case a linear decay function may be adopted to extrapolate the trailing edge 8.
Compensated Data Stream
(35) The compensated data stream 30 illustrated in
(36) The compensated data stream 30 of
Multiple Ion Events
(37) A method embodying the present invention is particularly advantageous when used to process an input data stream comprising at least partially overlapping ion events. That is to say where the trailing edge 8 of one peak 2 at least partially overlaps with the leading edge 7 of another peak.
(38)
(39) In isolation, the intensity and shape of the second peak 2B is also identical to that of the first peak 2A. However, since the leading edge 7 of the second peak 2B overlaps with the trailing edge 8 of the first peak 2A, the respective amplitudes of both peaks 2A, 2B during the overlap are compounded in the input data stream 100. As a result, more of the second data peak 2B is above the predetermined threshold 4 than the first data peak 2A. As described above, this leads to inaccuracies when a conventional thresholding method is used.
(40)
(41) Point 101 denotes the point of the leading edge 7 of the second peak 2B which would have been the leading edge crossover point if the second peak 2B was separate from the first peak 2A. However, since part of the leading edge 7 of the second peak 2B is compounded with the segment 6 of the trailing edge 8 of the first peak 2A, the amplitude of the input data stream 100 is caused to increase above the predetermined threshold 4. The start of the leading edge 7 of the second peak 2B coincides with the point at which the amplitude of the trailing edge 8 of the first peak 2A equals the predetermined threshold 4. As a result, all of the segment 5 of the second data peak 2B will be above the predetermined threshold 4. The shaded area beneath point 101 in
(42) Applying a predetermined threshold to the data stream of
(43) Point 102 denotes the point of the trailing edge 8 of the second peak 2B which would have been the trailing edge crossover point if the second peak 2B was separate from the first peak 2A. However, since part of the trailing edge 8 of the second peak 2B is compounded with the trailing edge 8 of the first peak 2A, the amplitude of the input data stream 100 is caused to increase above the predetermined threshold 4.
(44) Accordingly, the area of the data recorded in respect of the second peak 2B will be larger than that for the first peak 2A. This is despite the fact that, if the first 2A and the second 2B peaks were separated in time, the area of the part 10 of the peak 2A, 2B above the predetermined threshold 4 would be identical.
(45) When the data peaks 2A, 2B are overlapping, this leads to a non-linear relationship between actual ion current and reported ion current. For time of flight (TOF) instruments, this would also lead to m/z shift depending on the amount of the data stream which is above the threshold.
(46) By adopting a method embodying the present invention, the leading edge 7 of the first peak 2A and the trailing edge 8 of the second peak 2B are extrapolated. The trailing edge 8 of the first peak 2A and the leading edge 8 of the second peak 2B are not extrapolated since they are compounded so as to be above the predetermined threshold. Only when the input data stream 100 is below the threshold is extrapolation performed.
(47)
(48)
(49) It will be noted that the trailing edge 8 of the second peak 2B falls below the predetermined threshold 4, and that the beginning of the leading edge 7 of the third peak 3B is also below the predetermined threshold 4. At point 15, the leading edge 7 of the third peak 3C compounds with the end of the trailing edge 8 of the second peak to cause the input data stream 200 to rise toward the predetermined threshold 4.
(50) The amplitude of the data stream 200 between the trailing edge crossover point 14 of the second peak 2B and the leading edge crossover point 13 of the third peak 2C will be set to zero (or ignored or flagged) in the filtered data stream (not shown). Consequently, the method embodying the present invention will then extrapolate the second peak 2B, forwards, from the trailing edge crossover point 14B. According to one embodiment, the extrapolation of the trailing edge will iteratively continue until the amplitude of the input data stream 200 is greater than or equal to the predetermined threshold 4, or the estimated amplitude at that time is substantially equal to the mean 9 of the baseline.
(51)
(52) When the data stream 200 crosses the trailing edge crossover point 14B, of the second peak 2B, a method embodying the present invention will then extrapolate the peak 2B using a decay function, the result of which is indicated with the decreasing portion of dotted line 210 in
(53) However, with reference to
(54) According to an embodiment of the present invention, the leading edge 7 of the third peak 2C will also be extrapolated backwards.
(55) With reference to
(56) At all times between T.sub.TB and time T.sub.LC, the highest estimated amplitude will be used. As a result, the estimated amplitude of the portion of the input data stream 200 illustrated in
(57) Accordingly, at any time T, if there are conflicting estimates of the amplitude, based on the extrapolation of multiple peaks in the input data stream, the highest estimated amplitude at that time T will be used.
(58)
(59) Line 250 denotes the input data stream. Line 251 denotes the threshold. Line 252 is the sum of the input data stream using conventional thresholding. Line 253 denotes the sum of the input data stream when compensated using a method embodying the present invention. Line 254 denotes the percentage difference (error) between the sum of the input data stream using conventional thresholding and the ‘ideal’ of the sum of the input data steam. The threshold is 25 and the decay function is 0.5.
(60) It will be noted that the sum 252 of the input data stream using conventional thresholding is inevitably lower than the sum 253 of the compensated data stream generated according to a method embodying the present invention. This is because the compensated data stream includes data from extrapolating the parts of the input data steam which are under the threshold; whereas the traditional thresholding technique ignores the part of the input data stream under the threshold.
(61) As a consequence, the error between applying a conventional thresholding technique to the data stream and a method embodying the present invention is greatest when the input data stream is below the predetermined threshold.
(62) In embodiments of the present invention, both a filtered data stream and a data stream comprising the extrapolated peak data are generated first, and then compiled to create a compensated data stream. Subsequently, the compensated data stream is summed over time.
(63) Alternatively, rather than first compiling a discrete data stream based on a particular operation and then summing the values over time, the input data stream can instead be summed substantially in real time. Accordingly, in one embodiment, the present invention comprises summing the input data stream when above the predetermined threshold and summing the extrapolated peak when the input data stream is below the predetermined threshold.
(64) When used in this specification and claims, the terms “comprises” and “comprising” and variations thereof mean that the specified features, steps or integers are included. The terms are not to be interpreted to exclude the presence of other features, steps or components.
(65) The features disclosed in the foregoing description, or the following claims, or the accompanying drawings, expressed in their specific forms or in terms of a means for performing the disclosed function, or a method or process for attaining the disclosed result, as appropriate, may, separately, or in any combination of such features, be utilised for realising the invention in diverse forms thereof.