Click or drag to resize

ShiftGroupComplexSeparateXGetMeanAbsYDifference Method

Gets the mean 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.3179.0 (4.8.3179.0)
Syntax
C#
public (double Penalty, int EvaluatedPoints) GetMeanAbsYDifference(
	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 shiftFactor for the new part of the master curve.

Return Value

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

Implements

IShiftGroupGetMeanAbsYDifference(Int32, Double)
See Also