Click or drag to resize

PeakFinderRuleBasedAddRule Method

Apply a peak filtering rule.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void AddRule(
	PeakFinderRuleBasedRules rule,
	double parameter
)

Parameters

rule  PeakFinderRuleBasedRules
The rule to apply.
parameter  Double
The parameter to be used by this rule.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException"The parameter argument must be non-negative."
Remarks
Either LocatePeaks() or LocatePeakIndices() must be run to get an updated peaks list with the new rule list applied.
See Also