1/*
2 *    alias_2k.dat  --  Anti-alias filter 2000 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=2500.0
25// PassBandLow=375.0  PassBandUpp=2625.0  StopBandLow=0.0  StopBandUpp=3000.0
26// => PeakInStopBand=-89.35 dB
27// Programmers's scale factor: 1.000000
28// Programmers's comments: Anti-alias filter 2000 Hz bandwidth, decimation by 2
29
30const int Alias_2k_Len=64;
31
32double Alias_2k_I[Alias_2k_Len] = {
33   +0.00007244 , //   0
34   +0.00002831 , //   1
35   -0.00031179 , //   2
36   -0.00027704 , //   3
37   +0.00026218 , //   4
38   -0.00057780 , //   5
39   -0.00083336 , //   6
40   +0.00119188 , //   7
41   +0.00014945 , //   8
42   -0.00077327 , //   9
43   +0.00360739 , //  10
44   +0.00224833 , //  11
45   -0.00032116 , //  12
46   +0.00696821 , //  13
47   +0.00439713 , //  14
48   -0.00157675 , //  15
49   +0.00906983 , //  16
50   +0.00372045 , //  17
51   -0.00786599 , //  18
52   +0.00735339 , //  19
53   -0.00253048 , //  20
54   -0.02189728 , //  21
55   +0.00134354 , //  22
56   -0.01477966 , //  23
57   -0.04434362 , //  24
58   -0.00479913 , //  25
59   -0.03000591 , //  26
60   -0.07609801 , //  27
61   +0.00258946 , //  28
62   -0.04271980 , //  29
63   -0.14710769 , //  30
64   +0.14198817 , //  31
65   +0.42372962 , //  32
66   +0.14198817 , //  33
67   -0.14710769 , //  34
68   -0.04271980 , //  35
69   +0.00258946 , //  36
70   -0.07609801 , //  37
71   -0.03000591 , //  38
72   -0.00479913 , //  39
73   -0.04434362 , //  40
74   -0.01477966 , //  41
75   +0.00134354 , //  42
76   -0.02189728 , //  43
77   -0.00253048 , //  44
78   +0.00735339 , //  45
79   -0.00786599 , //  46
80   +0.00372045 , //  47
81   +0.00906983 , //  48
82   -0.00157675 , //  49
83   +0.00439713 , //  50
84   +0.00696821 , //  51
85   -0.00032116 , //  52
86   +0.00224833 , //  53
87   +0.00360739 , //  54
88   -0.00077327 , //  55
89   +0.00014945 , //  56
90   +0.00119188 , //  57
91   -0.00083336 , //  58
92   -0.00057780 , //  59
93   +0.00026218 , //  60
94   -0.00027704 , //  61
95   -0.00031179 , //  62
96   +0.00002831   //  63
97} ;
98
99double Alias_2k_Q[Alias_2k_Len] = {
100   -0.00000000 , //   0
101   -0.00015159 , //   1
102   -0.00014608 , //   2
103   +0.00036770 , //   3
104   +0.00010339 , //   4
105   -0.00031581 , //   5
106   +0.00128580 , //   6
107   +0.00120582 , //   7
108   -0.00051862 , //   8
109   +0.00225671 , //   9
110   +0.00226918 , //  10
111   -0.00216340 , //  11
112   +0.00181728 , //  12
113   +0.00176390 , //  13
114   -0.00692361 , //  14
115   -0.00105199 , //  15
116   -0.00081355 , //  16
117   -0.01498960 , //  17
118   -0.00512332 , //  18
119   -0.00331671 , //  19
120   -0.02395357 , //  20
121   -0.00602102 , //  21
122   -0.00049919 , //  22
123   -0.02943663 , //  23
124   +0.00351421 , //  24
125   +0.01576926 , //  25
126   -0.02737092 , //  26
127   +0.03572558 , //  27
128   +0.06272088 , //  28
129   -0.01659059 , //  29
130   +0.15254255 , //  30
131   +0.33394426 , //  31
132   -0.00000000 , //  32
133   -0.33394426 , //  33
134   -0.15254255 , //  34
135   +0.01659059 , //  35
136   -0.06272088 , //  36
137   -0.03572558 , //  37
138   +0.02737092 , //  38
139   -0.01576926 , //  39
140   -0.00351421 , //  40
141   +0.02943663 , //  41
142   +0.00049919 , //  42
143   +0.00602102 , //  43
144   +0.02395357 , //  44
145   +0.00331671 , //  45
146   +0.00512332 , //  46
147   +0.01498960 , //  47
148   +0.00081355 , //  48
149   +0.00105199 , //  49
150   +0.00692361 , //  50
151   -0.00176390 , //  51
152   -0.00181728 , //  52
153   +0.00216340 , //  53
154   -0.00226918 , //  54
155   -0.00225671 , //  55
156   +0.00051862 , //  56
157   -0.00120582 , //  57
158   -0.00128580 , //  58
159   +0.00031581 , //  59
160   -0.00010339 , //  60
161   -0.00036770 , //  61
162   +0.00014608 , //  62
163   +0.00015159   //  63
164} ;
165
166