SNIP_BaseEvaluateBaselineWithConstantHalfWidth Method |
Executes the algorithm to estimate the baseline for the provided spectrum.
This method is specialized for (almost) equally spaced x-values; thus the half width can be given in points.
Namespace: Altaxo.Science.Spectroscopy.BaselineEstimationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxprotected virtual void EvaluateBaselineWithConstantHalfWidth(
ReadOnlySpan<double> x,
double[] srcY,
double[] tmpY,
int w,
Span<double> result
)
Parameters
- x ReadOnlySpanDouble
- The x-values of the spectrum.
- srcY Double
- The y-values of the spectrum.
- tmpY Double
- A temporary working array of the same length as srcY.
- w Int32
- The half width in points. The value must be greater than or equal to 1.
- result SpanDouble
- The destination span to which the estimated baseline is written.
See Also