public QT_Data(List<int> QRS_Onset, List<int> T_End, List<double> RR_Interval, double Fs, String drainName, QT_Calc_Method method) { this.QRS_Onset = QRS_Onset; this.T_End = T_End; this.RR_Interval = RR_Interval; this.Fs = Fs; this.drainName = drainName; this.method = method; }
/// <summary> /// only for test /// </summary> public QT_Data() { int[] qrs_onset = { 558, -1, 1407, 1855 }; int[] qrs_end = { 779, 1176, 1604, 2032 }; double[] rr = { 958.33, 1152.78, 1238.89,1113.78}; this.QRS_Onset = qrs_onset.ToList(); this.T_End = qrs_end.ToList(); this.RR_Interval = rr.ToList(); this.Fs = 360; this.drainName = "V2"; this.method = QT_Calc_Method.BAZETTA; }