1/*
2 *    alias_1k.dat  --  Anti-alias filter 1000 Hz bandwidth
3 *
4 *    Copyright (C) 1999-2004 Pawel Jalocha, SP9VRC
5 *
6 *    This file is part of fldigi.
7 *
8 *    Fldigi is free software: you can redistribute it and/or modify
9 *    it under the terms of the GNU General Public License as published by
10 *    the Free Software Foundation, either version 3 of the License, or
11 *    (at your option) any later version.
12 *
13 *    Fldigi is distributed in the hope that it will be useful,
14 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
15 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 *    GNU General Public License for more details.
17 *
18 *    You should have received a copy of the GNU General Public License
19 *    along with fldigi.  If not, see <http://www.gnu.org/licenses/>.
20 *
21 */
22
23// Filter coefficiants made by ALIAS.C for the following parameters:
24// FilterLen=64  SampleRate=8000.0  FreqLow=500.0  FreqUpp=1500.0
25// PassBandLow=375.0  PassBandUpp=1625.0  StopBandLow=0.0  StopBandUpp=2000.0
26// => PeakInStopBand=-90.99 dB
27// Programmers's scale factor: 2.000000
28// Programmers's comments: Anti-alias filter 1000 Hz bandwidth, decimation by 4
29
30const int Alias_1k_Len=64;
31
32double Alias_1k_I[Alias_1k_Len] = {
33   +0.00003605 , //   0
34   +0.00001835 , //   1
35   -0.00022227 , //   2
36   -0.00079785 , //   3
37   -0.00099442 , //   4
38   +0.00032296 , //   5
39   +0.00276603 , //   6
40   +0.00365685 , //   7
41   +0.00128973 , //   8
42   -0.00107943 , //   9
43   +0.00195568 , //  10
44   +0.00914871 , //  11
45   +0.01100689 , //  12
46   +0.00254789 , //  13
47   -0.00580382 , //  14
48   -0.00014844 , //  15
49   +0.01341757 , //  16
50   +0.01123057 , //  17
51   -0.01328109 , //  18
52   -0.03176715 , //  19
53   -0.01791993 , //  20
54   +0.00579429 , //  21
55   -0.00986091 , //  22
56   -0.06425601 , //  23
57   -0.08967807 , //  24
58   -0.04429128 , //  25
59   +0.00513920 , //  26
60   -0.04459511 , //  27
61   -0.16886923 , //  28
62   -0.19065374 , //  29
63   +0.01930718 , //  30
64   +0.34486939 , //  31
65   +0.50345887 , //  32
66   +0.34486939 , //  33
67   +0.01930718 , //  34
68   -0.19065374 , //  35
69   -0.16886923 , //  36
70   -0.04459511 , //  37
71   +0.00513920 , //  38
72   -0.04429128 , //  39
73   -0.08967807 , //  40
74   -0.06425601 , //  41
75   -0.00986091 , //  42
76   +0.00579429 , //  43
77   -0.01791993 , //  44
78   -0.03176715 , //  45
79   -0.01328109 , //  46
80   +0.01123057 , //  47
81   +0.01341757 , //  48
82   -0.00014844 , //  49
83   -0.00580382 , //  50
84   +0.00254789 , //  51
85   +0.01100689 , //  52
86   +0.00914871 , //  53
87   +0.00195568 , //  54
88   -0.00107943 , //  55
89   +0.00128973 , //  56
90   +0.00365685 , //  57
91   +0.00276603 , //  58
92   +0.00032296 , //  59
93   -0.00099442 , //  60
94   -0.00079785 , //  61
95   -0.00022227 , //  62
96   +0.00001835   //  63
97} ;
98
99double Alias_1k_Q[Alias_1k_Len] = {
100   -0.00000000 , //   0
101   -0.00009527 , //   1
102   -0.00023082 , //   2
103   +0.00005162 , //   3
104   +0.00123007 , //   4
105   +0.00255193 , //   5
106   +0.00207549 , //   6
107   -0.00064302 , //   7
108   -0.00244045 , //   8
109   +0.00005205 , //   9
110   +0.00410793 , //  10
111   +0.00211830 , //  11
112   -0.00729235 , //  12
113   -0.01359800 , //  13
114   -0.00757272 , //  14
115   +0.00172023 , //  15
116   -0.00460378 , //  16
117   -0.02559228 , //  17
118   -0.03408530 , //  18
119   -0.01416468 , //  19
120   +0.00731461 , //  20
121   -0.00712536 , //  21
122   -0.04328548 , //  22
123   -0.04099291 , //  23
124   +0.01821691 , //  24
125   +0.06428190 , //  25
126   +0.02790538 , //  26
127   -0.03602086 , //  27
128   +0.01583703 , //  28
129   +0.22015579 , //  29
130   +0.40003327 , //  30
131   +0.32856209 , //  31
132   -0.00000000 , //  32
133   -0.32856209 , //  33
134   -0.40003327 , //  34
135   -0.22015579 , //  35
136   -0.01583703 , //  36
137   +0.03602086 , //  37
138   -0.02790538 , //  38
139   -0.06428190 , //  39
140   -0.01821691 , //  40
141   +0.04099291 , //  41
142   +0.04328548 , //  42
143   +0.00712536 , //  43
144   -0.00731461 , //  44
145   +0.01416468 , //  45
146   +0.03408530 , //  46
147   +0.02559228 , //  47
148   +0.00460378 , //  48
149   -0.00172023 , //  49
150   +0.00757272 , //  50
151   +0.01359800 , //  51
152   +0.00729235 , //  52
153   -0.00211830 , //  53
154   -0.00410793 , //  54
155   -0.00005205 , //  55
156   +0.00244045 , //  56
157   +0.00064302 , //  57
158   -0.00207549 , //  58
159   -0.00255193 , //  59
160   -0.00123007 , //  60
161   -0.00005162 , //  61
162   +0.00023082 , //  62
163   +0.00009527   //  63
164} ;
165
166