The reference threshold at 50% sensitivity is calculated using the following formula. The max(0, ...) function sets any negative intermediate result to zero. The result is squared to match the purity calculation based on the squared Pearson correlation.

VARnoise | Calculated variance threshold of the noise spectra |
VARpeak | Variance of the peak spectra |
VARtarget | Variance of the peak apex spectrum |
The threshold (Ts) used in the software depends on the sensitivity value. It is calculated with following formulas:
If the sensitivity is greater than 50%:

If the sensitivity is lower than or equal to 50%:

TS | threshold [0 – 1000] for selected sensitivity S |
T | Reference threshold at 50% sensitivity |
S | Sensitivity [0 - 100] % |
For each individual threshold value, at each raw data point, one of these formulas is applied.

The red curve is the automatically calculated threshold curve. The automatically calculated threshold value for this curve example is 980 (which is the sensitivity value 50%).
base-id: 11016920587
id: 9007210271661579