public ButterworthFilterService(double frequency, EExamType type) { int order = 4; double cutoff = SensorService.GetCuttoffFrequency(type); double Wd = cutoff / frequency * 2; Coeff = ButterworthLowPassFilter(order, Wd); }