RidgeLineSignalToNoiseRatioAtMaximalCwtCoefficientIsAtLeast Method |
Gets a value indicating whether the ridge line has at least a signal-to-noise ratio greater than or equal to the provided value.
The signal-to-noise ratio is calculated at the point with the first maximum of the Cwt coefficient (see
PointAtMaximalCwtCoefficient).
Namespace: Altaxo.Science.Spectroscopy.PeakSearchingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public bool SignalToNoiseRatioAtMaximalCwtCoefficientIsAtLeast(
double[] noiseLevels,
double minimalSNR,
int order
)
Parameters
- noiseLevels Double
- The noise levels along the x-axis. The array must have the same length than the length of the spectrum that was used to create the ridge line(s).
- minimalSNR Double
- The minimal required signal-to-noise ratio.
- order Int32
- The order (must be at least 1). Number of points to the left and right of the designated maximum taken into consideration. See GetPointAtMaximalCwtCoefficient(Int32).
Return Value
BooleanTrue if the signal-to-noise ratio is greater than or equal to
minimalSNR; otherwise, false.
See Also