//konstruktor BUTTERWORTH BAND public ECG_Baseline_Params(Filtr_Method method, Filtr_Type type, int orderLow, int orderHigh, double fcLow, double fcHigh, string analysisName) { this.Method = method; this.AnalysisName = analysisName; this.Type = type; this.FcLow = fcLow; this.FcHigh = fcHigh; this.OrderLow = orderLow; this.OrderHigh = orderHigh; }
// konstruktor MOVING_AVG, SAV_GOL, LMS LOW, HIGH public ECG_Baseline_Params(Filtr_Method method, Filtr_Type type, int windowSize, string analysisName) { this.Method = method; this.AnalysisName = analysisName; this.Type = type; if (type == Filtr_Type.LOWPASS) this.WindowSizeLow = windowSize; else if (type == Filtr_Type.HIGHPASS) this.WindowSizeHigh = windowSize; }
//konstruktor BUTTERWORTH LOW, HIGH public ECG_Baseline_Params(Filtr_Method method, Filtr_Type type, int order, double fc, string analysisName) { this.Method = method; this.AnalysisName = analysisName; this.Type = type; if (type == Filtr_Type.LOWPASS) this.FcLow = fc; else if (type == Filtr_Type.HIGHPASS) this.FcHigh = fc; if (type == Filtr_Type.LOWPASS) this.OrderLow = order; else if (type == Filtr_Type.HIGHPASS) this.OrderHigh = order; }
// konstruktor MOVING_AVG, SAV_GOL, LMS BAND public ECG_Baseline_Params(Filtr_Method method, Filtr_Type type, int windowSizeLow, int windowSizeHigh, string analysisName) { this.Method = method; this.AnalysisName = analysisName; this.Type = type; this.WindowSizeLow = windowSizeLow; this.WindowSizeHigh = windowSizeHigh; }