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.MasterCurvesAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax (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 shiftFactor for the new part of the master curve.
Return Value
ValueTupleDouble,
Int32Returns 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.
See Also