SSProbBaseProbabilityThatXIsNoise Method |
Approximation for the probability that the value x belongs to the noise level.
Namespace: Altaxo.Science.Spectroscopy.BaselineEstimationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected 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 x can represent a single value or a sum of consecutive values.
This parameter is the number of values that were added up. Provide 1 if x is a single value.
Return Value
DoubleAn approximation of the complementary error function.
Remarksx must be positive (this is not validated).
This function is an approximation for Erfc(x/(sigma*sqrt(2))).
See Also