SiliconCalibrationFindMatch Method |
Finds the Silicon peak.
Namespace: Altaxo.Science.Spectroscopy.RamanAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic (double Position, double PositionTolerance)? FindMatch(
SiliconCalibrationOptions options,
double[] x,
double[] y,
CancellationToken cancellationToken
)
Parameters
- options SiliconCalibrationOptions
- The options used for calculation.
- x Double
- The x values of the measured silicon spectrum.
- y Double
- The y values of the measured silicon spectrum.
- cancellationToken CancellationToken
- Token used to cancel this task.
Return Value
NullableValueTupleDouble,
Double
The position and position tolerance of the silicon peak if found; otherwise
null.
Remarks
Peak finding and fitting are performed using the configured peak finding options in
options.
Peak fitting must be enabled in the options; otherwise an
InvalidOperationException is thrown.
See Also