Click or drag to resize

SSProbBaseProbabilityThatXIsNoise Method

Approximation for the probability that the value x belongs to the noise level. Attention: x has to be positive (this is not tested!). This function is an approximation for Erfc(x/(sigma*Sqrt(2)).

Namespace: Altaxo.Science.Spectroscopy.BaselineEstimation
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
protected static double ProbabilityThatXIsNoise(
	double x,
	double sigma,
	int numberOfAddedPoints
)

Parameters

x  Double
The x value.
sigma  Double
The sigma of the noise.
numberOfAddedPoints  Int32
The parameter xcan contain of a single value, or of a sum of consecutive values. The number represents the number of values that were added up. Provide 1 if x is a single value.

Return Value

Double
Approximation for the Erfc function.
See Also