RidgeLineSignalToNoiseRatioAtMaximalCwtCoefficientIsAtLeast Method |
Gets a value indicating whether the ridge line has 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.3448.0 (4.8.3448.0)
Syntaxpublic 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 as the spectrum 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 candidate maximum considered. See GetPointAtMaximalCwtCoefficient(Int32).
Return Value
Boolean if the signal-to-noise ratio is >=
minimalSNR; otherwise,
.
See Also