ShiftGroupCollectionGetShiftOffset Method |
Gets the shift offset. After creation of the master curve using the low level interface, the entire curve can be shifted, so that the value shift=0 is at another point.
The point is determined by the options.
Namespace: Altaxo.Science.Thermorheology.MasterCurvesAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public (double shiftOffset, double? referenceValue) GetShiftOffset(
double? referencePropertyValue,
bool useExactReferencePropertyValue,
double?[] curveProperties,
int indexOfReferenceCurve
)
Parameters
- referencePropertyValue NullableDouble
- If not null, this is the reference value. Most probably in master curve construction, this is the reference temperature.
- useExactReferencePropertyValue Boolean
- If true, the exact value given by referencePropertyValue is trying to use, even if this value is not the property value of any curve.
In this case, the shift values are interpolated over the property values, and then the shift value is interpolated. If interpolation is not possible, the fallback method is then to not use the exact reference value.
- curveProperties NullableDouble
- The properties of the curves. The array must have the same length as the number of curves in this instance. If referencePropertyValue is a reference temperature,
then the values in this array must be temperatures, each temperature associated with a curve.
- indexOfReferenceCurve Int32
- If referencePropertyValue is null, then the curve with this index is used as the reference curve. If at this index no shift
information is available, then the curve nextmost to this index is used as the reference curve.
Return Value
ValueTupleDouble,
NullableDoubleA tuple containing the shift offset, with which the entire curve should be shifted, and the actually used reference value (e.g. reference temperature).
See Also