/// <summary> /// Creates a new instance of the <see cref="PeakDetector"/> class. /// </summary> public PeakDetector(IPeakFunctionComputor peakFunctionComputor) { _peakFunctionComputor = peakFunctionComputor; _detectionSettings = new DetectionSettings(); _mathzComputor = new DefaultMathzComputor(); _dilluter = new DefaultDiluter(); }
/// <summary> /// Creates a new instance of the <see cref="PeakDetector"/> class. /// </summary> public PeakDetector(IPeakFunctionComputor peakFunctionComputor, IMathzComputor mathzComputor, IDiluter dilluter, DetectionSettings detectionSettings) { _peakFunctionComputor = peakFunctionComputor; _detectionSettings = detectionSettings; _mathzComputor = mathzComputor; _dilluter = dilluter; }
/// <summary> /// Creates a new instance of the <see cref="PeakDetector"/> class. /// </summary> public PeakDetector(DetectionSettings detectionSettings) { _detectionSettings = detectionSettings; _peakFunctionComputor = new DefaultPeakFunctionComputor(); _mathzComputor = new DefaultMathzComputor(); _dilluter = new DefaultDiluter(); }