void w_HRCalculationRequested(double lower, double upper) { double HR = QRSDetector.Determine_HeartRate(signal, lower, upper); signal.HeartRate = HR; ecgView.refresh(); }
private void DetectQRS_MenuItem_Click(object sender, RoutedEventArgs e) { if (signal == null) { return; } var result = QRSDetector.QRS_Detect(signal); signal.Spikes = result; ecgView.refresh(); }