Click or drag to resize

ShiftGroupCollectionClampPivotIndexCandidateToAvailablePivots Method

Uses the pivot index candidate and looks for the next possible pivot index around this candidate index.

Namespace: Altaxo.Science.Thermorheology.MasterCurves
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public int ClampPivotIndexCandidateToAvailablePivots(
	int? pivotIndexCandidate
)

Parameters

pivotIndexCandidate  NullableInt32
The pivot index candidate.

Return Value

Int32
A valid pivot index.
Exceptions
ExceptionCondition
InvalidProgramExceptionBy now, we should have found a pivot index. If not, the {_isCurveSuitableForPivot} does not contain elements of value true, which should be catched in the constructor.
See Also