Example #1
0
        void w_HRCalculationRequested(double lower, double upper)
        {
            double HR = QRSDetector.Determine_HeartRate(signal, lower, upper);

            signal.HeartRate = HR;
            ecgView.refresh();
        }
Example #2
0
        private void DetectQRS_MenuItem_Click(object sender, RoutedEventArgs e)
        {
            if (signal == null)
            {
                return;
            }

            var result = QRSDetector.QRS_Detect(signal);

            signal.Spikes = result;
            ecgView.refresh();
        }