Thresholding Options¶
Fig. 9 Peaks above the detection threshold are detected as particles. Merged peaks are split using their prominence. Peak regions above the accumulation threshold, with at least the required points detections, are summed.¶
To resolve particles from background signals a detection threshold must be defined, above with signal is considered a particle. SPCal offers three different thresholding methods, each with their own use-cases. In general, Gaussian statistics should be used for thresholding signals with a high-mean background (> 10 counts) and Poisson statistics for those below. For spICP-ToF data with low-mean backgrounds, Compound-Poisson statistics must be used. For more a detailed discussion see Thresholds for spICP-MS. Each method also allows the definition of an error-rate \(\alpha\), that corresponds to the expected number of falsely detected particles.
The method used for data can be selected using Method in the Limit Options Dock, with the following options.
Automatic Selects the most appropriate of Compound-Poisson, Gaussian and Poisson.
Highest Selects the highest threshold.
Compound-Poisson Uses Compound-Poisson statistics with the options in Compound-Poisson options. Recommended for ToF data.
Gaussian Uses Gaussian statistics with the options in Gaussian options. Recommended for data with a background signal > 10 counts.
Poisson Uses Poisson statistics with the options in Poisson options. Recommended for data with a background signal < 10 counts.
Manual Input Set the Detection threshold manually for each element.
SPCal also allows editing of the Accumulation method, to set the accumulation threshold.
Detection threshold Uses the detection threshold, as calculated above, as the accumulation threshold. This effectively disables the accumulation threshold.
Signal Mean Uses the signal mean as the accumulation threshold.
Half-detection threshold Uses the value half way between the signal mean and detection threshold.
Advanced options for detections can be accessed using Edit -> Processing Options. Here you can set the required points for a peak, the required prominence used to split overlapping peaks and the point at which peak accumulation (summing of adjacent points) will stop.
Compound-Poisson options¶
\(\alpha\) |
The (Type I) error rate. |
SIA \(\sigma\) |
The shape parameter used in the lookup table. |
Details on the method used to calculated the detection threshold using Compound-Poisson statistics can be found in Thresholds for spICP-MS. To set per-mass SIA \(\sigma\) values click the Single Ion Options to start the Single Ion Distribution Dialog. Here a low level (1 - 10 ppb) ionic standard can be loaded and used to determine an SIA shape for each mass.
Single Ion Distribution Dialog¶
Fig. 10 The SIA dialog is used to determine per-mass SIA shapes for compoun Poisson thresholding.¶
This dialog is used to determine the shape (\(\sigma\)) for individual masses from a low level ionic standard [2]. Once started the dialog will prompt you to load a file then displays the distibution (across all masses) as a histogram and the calculated shapes as a scatter. Red points are ignored due to low or high zero counts, or from being to far from the mean shape as specifed by Dist. from mean. The blue line shows a fit across masses, from which the SIA is interpolated. The fit can be modified using the Smoothing option. Left-clicking a point will show the ionic signal for that mass, which can be useful for determining why the shape is higher or lower than predicited (e.g., particles in the ionic sample).
Pressing Apply will apply the shape to all isotopes and disable the SIA shape option under Compound-Poisson options. To view the SIA for a specific masses hover over the LOD option in the Results Dock.
Gaussian options¶
\(\alpha\) |
The (Type I) error rate used to calculate the z-value. |
\(\sigma\) |
The z-value. |
The detection threshold is calculated using Gaussian statistics as follows, \(\mu + z \sigma\). The z-value is calculated from \(\alpha\) using the quantile function of a standard normal distribution. Editing \(\alpha\) or \(\sigma\) will adjust the other value to match.
Poisson options¶
\(\alpha\) |
The (Type I) error rate. |
Advanced Options |
Opens a dialog to select the formula used to calculate the threshold. |
The detection threshold is calculated using the \(\alpha\) and the formula selected in Advanced Options. The strengths and weaknesses of each formula are discussed in the MARLAP manual [1]. In general, the Currie method is recommended for spICP data.
Windowed thresholding¶
Fig. 11 Windowed thresholding can be used in samples with dynamic background, such as those collected by laser ablation.¶
A static threshold is easy to calculate and suitable most solution-based spICP-MS data. However, in situations with dynamic backgrounds, such as when using laser ablation, a thresholding method that can adapt to the moving background is required. SPCal implements windowed thresholding for these cases, and is enabled be checking the Use window option in the Options Tab.
Windowed thresholding is performed by calculating the local signal mean and detection threshold in regions around each point. The size of the window is set using the Window size option. Larger windows are less affected by local changes, but take longer to compute.
Iterative thresholding¶
Fig. 12 Iterative thresholding can be used to more accurately approximate the mean in samples with many particles.¶
The presence of a large number of particles can impact the mean of the signal, and therefore the detection threshold. Iterative thresholding removes the influence of particles detection threshold by sequentially filtering particle signal and re-calculating using non-detected regions. Once the detection threshold stops changing, the process is ended.