forked from DD4WH/Teensy-SDR-Rx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iir_26.h
47 lines (37 loc) · 965 Bytes
/
iir_26.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// DD4WH LPF DC - 2.6 kHz
// (sampling rate 44.117 kHz)
// 19.11.2015
// Parameters generated using Iowa Hills IIR Filter Designer
// 8th order Inv Cheby Lowpass (4-stage cascaded biquad)
//
//
// coefficients must be in order: B0, B1, B2, A1, A0
// unlike output by Iowa Hils IIR Filter Designer !
const double IIR_26_Coeffs_0[] =
{ 0.540171118036528397,
-0.919885858364284048,
0.540171118036528397,
-1.216564577638121310,
0.377020955346894171
};
const double IIR_26_Coeffs_1[] =
{ 0.365427800890789467,
-0.584085107562330563,
0.365427800890789467,
-1.370139944133233590,
0.516910438352482071
};
const double IIR_26_Coeffs_2[] =
{ 0.166507245228244061,
-0.199806854365357778,
0.166507245228244061,
-1.573830827104126360,
0.707038463195256650
};
const double IIR_26_Coeffs_3[] =
{ 0.048669380653841535,
0.033035018012432818,
0.048669380653841535,
-1.768940357874658530,
0.899314137194774377
};