forked from DD4WH/Teensy-SDR-Rx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiir_54.h
52 lines (42 loc) · 1007 Bytes
/
iir_54.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
48
49
50
51
52
// DD4WH LPF DC - 5.4 kHz
// (sampling rate 44.117 kHz)
// 12.2.2015
// Parameters generated using Iowa Hills IIR Filter Designer
// 8th order inv Cheby Lowpass (4-stage cascaded biquad)
//
//
//const uint16_t IIR_44_numStages = 6;
// coefficients must be in order: B0, B1, B2, A1, A2
// unlike output by Iowa Hils IIR Filter Designer !
const double IIR_54_Coeffs_0[] =
{
0.455538551190282137,
-0.414177993916487353,
0.455538551190282137,
-0.610743068556704460,
0.107642177020781438
};
const double IIR_54_Coeffs_1[] =
{
0.353406693953235374,
-0.222163021852471249,
0.353406693953235374,
-0.777493307668655653,
0.262143673722655013
};
const double IIR_54_Coeffs_2[] =
{
0.223479292310269140,
0.034735385615843543,
0.223479292310269140,
-1.028293644763743850,
0.509987615000125571
};
const double IIR_54_Coeffs_3[] =
{
0.142940195575829515,
0.231304531888519099,
0.142940195575829515,
-1.298067623920669660,
0.815252546960847924
};