Click or drag to resize

IShiftGroupGetMeanSquaredYDifference Method

Gets the mean squared difference between the y column and the interpolation function, provided that the x column is shifted by a factor.

Namespace: Altaxo.Science.Thermorheology.MasterCurves
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
(double Penalty, int EvaluatedPoints) GetMeanSquaredYDifference(
	int idxCurve,
	double shift
)

Parameters

idxCurve  Int32
The index of the curve to fit.
shift  Double
Shift offset (direct offset or natural logarithm of the shift factor for the new part of the master curve).

Return Value

ValueTupleDouble, Int32
Returns the calculated penalty value (mean squared difference between the interpolation curve and the provided data), and the number of points (of the new part of the curve) used for calculating the penalty value.
See Also