HP3562A/enum_types.py

changeset 14
07e2cbf140df
child 16
de9122b5680a
equal deleted inserted replaced
13:78e3e839658b 14:07e2cbf140df
1 # -*- coding: utf-8 -*-
2
3 EDSP = {0: "No data",
4 1: "Frequency response",
5 2: "Power spectrum 1",
6 3: "Power spectrum 2",
7 4: "Coherence",
8 5: "Cross spectrum",
9 6: "Input time 1",
10 7: "Input time 2",
11 8: "Input linear spectrum 1",
12 9: "Input linear spectrum 2",
13 10: "Impulse response",
14 11: "Cross correlation",
15 12: "Auto correlation 1",
16 13: "Auto correlation 2",
17 14: "Histogram 1",
18 15: "Histogram 2",
19 16: "Cumulative density function 1",
20 17: "Cumulative density function 2",
21 18: "Probability density function 1",
22 19: "Probability density function 2",
23 20: "Average linear spectrum 1",
24 21: "Average linear spectrum 2",
25 22: "Average time record 1",
26 23: "Average time record 2",
27 24: "Synthesis pole-zeros",
28 25: "Synthesis pole-residue",
29 26: "Synthesis polynomial",
30 27: "Synthesis constant",
31 28: "Windowed time record 1",
32 29: "Windowed time record 2",
33 30: "Windowed linear spectrum 1",
34 31: "Windowed linear spectrum 2",
35 32: "Filtered time record 1",
36 33: "Filtered time record 2",
37 34: "Filtered linear spectrum 1",
38 35: "Filtered linear spectrum 2",
39 36: "Time capture buffer",
40 37: "Captured linear spectrum",
41 38: "Captured time record",
42 39: "Throughput time record 1",
43 40: "Throughput time record 2",
44 41: "Curve fit",
45 42: "Weighted function",
46 43: "Not used",
47 44: "Orbits",
48 45: "Demodulation polar",
49 46: "Preview demod record 1",
50 47: "Preview demod record 2",
51 48: "Preview demod linear spectrum 1",
52 49: "Preview demod linear spectrum 2",
53 }
54
55 ECH = {0: "Channel 1",
56 1: "Channel 2",
57 2: "Channel 1&2",
58 3: "No channel",
59 }
60
61 EOVR = ECH
62
63 EDOM = {0: 'Time',
64 1: 'Frequency',
65 2: 'Voltage (amplitude)',
66 }
67
68 EVLT = {0: "Peak",
69 1: "RMS",
70 2: "Volt (indicates peak only)",
71 }
72
73 EAMP = {0: "Volts",
74 1: "Volts squared",
75 2: "PSD (V²/Hz)",
76 3: "ESD (V²s/Hz)",
77 4: "PSD¹² (V/Hz¹²)",
78 5: "No unit",
79 6: "Unit volts",
80 7: "Unit volts²",
81 }
82
83 EXAXIS= {0: "No units",
84 1: "Hertz",
85 2: "RPM",
86 3: "Orders",
87 4: "Seconds",
88 5: "Revs",
89 6: "Degrees",
90 7: "dB",
91 8: "dBV",
92 9: "Volts",
93 10: "V Hz¹²",
94 11: "Hz/s",
95 12: "V/EU",
96 13: "Vrms",
97 14: "V²/Hz",
98 15: "%",
99 16: "Points",
100 17: "Records",
101 18: "Ohms",
102 19: "Hertz/octave",
103 20: "Pulse/Rev",
104 21: "Decades",
105 22: "Minutes",
106 23: "V²s/Hz",
107 24: "Octave",
108 25: "Seconds/Decade",
109 26: "Seconds/Octave",
110 27: "Hz/Point",
111 28: "Points/Sweep",
112 29: "Points/Decade",
113 30: "Points/Octave",
114 31: "V/Vrms",
115 32: "V²",
116 33: "EU referenced to chan 1",
117 34: "EU referenced to chan 2",
118 35: "EU value",
119 }
120
121 EMEAS = {0: "Linear resolution",
122 1: "Log resolution",
123 2: "Swept sine",
124 3: "Time capture",
125 4: "Linear resolution throughput",
126 }
127
128 EDEMOD = {45: "AM",
129 46: "FM",
130 47: "PM",
131 }
132
133 EAVG = {0: "No data",
134 1: "Not averaged",
135 2: "Averaged",}
136
137 EWIN = {0: "N/A",
138 1: "Hann",
139 2: "Flat top",
140 3: "Uniforme",
141 4: "Exponential",
142 5: "Force",
143 6: "Force chan 1/expon chan 2",
144 7: "Expon chan 1/force chan 2",
145 8: "User",
146 }
147
148 EMTYP = {0: "Frequency responce",
149 1: "Cross correlation",
150 2: "Power spectrum",
151 3: "Auto correlation",
152 4: "Histogram",
153 5: "No measurement",
154 }
155
156 EWINTYP = { 11: "Hanning",
157 12: "Flat top",
158 13: "Uniform",
159 14: "User window",
160 15: "Force/Exponential",
161 }
162
163 EFEXPW = { 0: "Force",
164 1: "Exponential",
165 }
166
167 EAVGTYP = { 6: "Stable",
168 7: "Exponential",
169 8: "Peak",
170 9: "Continuous peak",
171 10: "Averaging off",
172 }
173
174 ETRGTYP = { 18: "Free run",
175 19: "Channel 1",
176 20: "Channel 2",
177 21: "External",
178 22: "Source trigger",
179 23: "HP-IB trigger",
180 }
181
182 ETRGSLP = { 16: "Positive",
183 17: "Negative",
184 }
185
186 EPRVTYP = { 0: "Manual preview",
187 1: "Timed preview",
188 2: "Preview off",
189 }
190
191 ESMPTYP = { 24: "Internal sample",
192 25: "External sample",
193 }
194
195 ERNGUNT = EXAXIS
196
197 ERNGTYP = { 26: "Auto range on",
198 27: "Auto range off",
199 28: "Auto range set",
200 }
201
202 EINCPL = { 29: "AC",
203 30: "DC",
204 }
205
206 ESRCTYP = { 31: "Source off",
207 32: "Random noise",
208 33: "Burst random",
209 34: "Periodic chirp",
210 35: "Burst chirp",
211 36: "Swept sine",
212 37: "Fixed sine",
213 }
214
215 ESWPDIR = { 41: "Up",
216 42: "Sweep hold",
217 43: "Manual sweep",
218 44: "Down",
219 }
220
221 ESWPMOD = { 39: "Linear sweep",
222 40: "Log sweep",
223 }
224
225 EEXTSMPFREQUNT = EXAXIS
226
227 EBNDUNT = EXAXIS
228
229 ESWPRATEUNT = EXAXIS
230
231 EAUGAINREFCH = { 0: "Channel 1",
232 1: "Channel 2",
233 2: "Not used",
234 3: "No channel",
235 }
236 EDEMODCH = { 0: "Channel 1",
237 1: "Channel 2",
238 2: "Both channels",
239 3: "No channel",
240 }
241
242 ESRCLVLUNT = EXAXIS
243
244 ESRCDCOFFST = EXAXIS
245
246 ETRGLVLUNT = EXAXIS
247
248 ECPTLGHUNT = EXAXIS

mercurial