SNIP_BaseEvaluateBaselineWithConstantHalfWidth Method |
Executes the algorithm to find the baseline with 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.3179.0 (4.8.3179.0)
Syntax protected virtual void EvaluateBaselineWithConstantHalfWidth(
ReadOnlySpan<double> x,
double[] srcY,
double[] tmpY,
int w,
Span<double> result
)
Parameters
- x ReadOnlySpanDouble
- The x values of the spectral values.
- srcY Double
- The array of spectral values.
- tmpY Double
- A temporary working array of the same length than srcY.
- w Int32
- The half width in points. The value must be equal to or greater than 1.
- result SpanDouble
- The location where the baseline corrected spectrum should be stored.
Return Value
The evaluated baseline of the provided spectrum.
See Also