xradio 0.0.31__py3-none-any.whl → 0.0.34__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- xradio/_utils/list_and_array.py +5 -3
- xradio/vis/__init__.py +3 -5
- xradio/vis/_processing_set.py +3 -3
- xradio/vis/_vis_utils/_ms/_tables/load_main_table.py +4 -4
- xradio/vis/_vis_utils/_ms/_tables/read.py +57 -41
- xradio/vis/_vis_utils/_ms/_tables/read_main_table.py +17 -18
- xradio/vis/_vis_utils/_ms/_tables/read_subtables.py +5 -5
- xradio/vis/_vis_utils/_ms/_tables/write.py +2 -4
- xradio/vis/_vis_utils/_ms/_tables/write_exp_api.py +19 -13
- xradio/vis/_vis_utils/_ms/chunks.py +5 -72
- xradio/vis/_vis_utils/_ms/conversion.py +238 -55
- xradio/vis/_vis_utils/_ms/{_tables/create_field_and_source_xds.py → create_field_and_source_xds.py} +114 -85
- xradio/vis/_vis_utils/_ms/descr.py +8 -8
- xradio/vis/_vis_utils/_ms/msv4_sub_xdss.py +249 -77
- xradio/vis/_vis_utils/_ms/partition_queries.py +19 -185
- xradio/vis/_vis_utils/_ms/partitions.py +18 -22
- xradio/vis/_vis_utils/_ms/subtables.py +2 -2
- xradio/vis/_vis_utils/_utils/partition_attrs.py +2 -2
- xradio/vis/_vis_utils/_utils/xds_helper.py +12 -12
- xradio/vis/_vis_utils/ms.py +1 -43
- xradio/vis/_vis_utils/zarr.py +0 -1
- xradio/vis/convert_msv2_to_processing_set.py +8 -1
- xradio/vis/load_processing_set.py +0 -3
- xradio/vis/read_processing_set.py +2 -2
- {xradio-0.0.31.dist-info → xradio-0.0.34.dist-info}/METADATA +1 -1
- {xradio-0.0.31.dist-info → xradio-0.0.34.dist-info}/RECORD +29 -31
- {xradio-0.0.31.dist-info → xradio-0.0.34.dist-info}/WHEEL +1 -1
- xradio/vis/_vis_utils/ms_column_descriptions_dicts.py +0 -1360
- xradio/vis/vis_io.py +0 -146
- {xradio-0.0.31.dist-info → xradio-0.0.34.dist-info}/LICENSE.txt +0 -0
- {xradio-0.0.31.dist-info → xradio-0.0.34.dist-info}/top_level.txt +0 -0
|
@@ -1,1360 +0,0 @@
|
|
|
1
|
-
import numpy as np
|
|
2
|
-
|
|
3
|
-
# Changed column_descriptions['UVW']['MEASINFO']['Ref'] = ITRF -> J2000 from deafult assigned by CASA simulator. Follows convention in fixvis.
|
|
4
|
-
# column_descriptions['UVW']['shape']
|
|
5
|
-
main_column_description = {
|
|
6
|
-
"UVW": {
|
|
7
|
-
"valueType": "double",
|
|
8
|
-
"dataManagerType": "IncrementalStMan",
|
|
9
|
-
"dataManagerGroup": "ismdata",
|
|
10
|
-
"option": 5,
|
|
11
|
-
"maxlen": 0,
|
|
12
|
-
"comment": "Vector with uvw coordinates (in meters)",
|
|
13
|
-
"ndim": 1,
|
|
14
|
-
"shape": np.array([3]),
|
|
15
|
-
"_c_order": True,
|
|
16
|
-
"keywords": {
|
|
17
|
-
"QuantumUnits": ["m", "m", "m"],
|
|
18
|
-
"MEASINFO": {"type": "uvw", "Ref": "ITRF"},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
"FLAG": {
|
|
22
|
-
"valueType": "boolean",
|
|
23
|
-
"dataManagerType": "TiledShapeStMan",
|
|
24
|
-
"dataManagerGroup": "FlagColumn",
|
|
25
|
-
"option": 0,
|
|
26
|
-
"maxlen": 0,
|
|
27
|
-
"comment": "The data flags, array of bools with same shape as data",
|
|
28
|
-
"ndim": 2,
|
|
29
|
-
"_c_order": True,
|
|
30
|
-
"keywords": {},
|
|
31
|
-
},
|
|
32
|
-
"FLAG_CATEGORY": {
|
|
33
|
-
"valueType": "boolean",
|
|
34
|
-
"dataManagerType": "TiledShapeStMan",
|
|
35
|
-
"dataManagerGroup": "flagHyperColumn",
|
|
36
|
-
"option": 0,
|
|
37
|
-
"maxlen": 0,
|
|
38
|
-
"comment": "The flag category, NUM_CAT flags for each datum",
|
|
39
|
-
"ndim": 3,
|
|
40
|
-
"_c_order": True,
|
|
41
|
-
"keywords": {"CATEGORY": []},
|
|
42
|
-
},
|
|
43
|
-
"WEIGHT": {
|
|
44
|
-
"valueType": "float",
|
|
45
|
-
"dataManagerType": "TiledShapeStMan",
|
|
46
|
-
"dataManagerGroup": "WeightColumn",
|
|
47
|
-
"option": 0,
|
|
48
|
-
"maxlen": 0,
|
|
49
|
-
"comment": "Weight for each polarization spectrum",
|
|
50
|
-
"ndim": 1,
|
|
51
|
-
"_c_order": True,
|
|
52
|
-
"keywords": {},
|
|
53
|
-
},
|
|
54
|
-
"SIGMA": {
|
|
55
|
-
"valueType": "float",
|
|
56
|
-
"dataManagerType": "TiledShapeStMan",
|
|
57
|
-
"dataManagerGroup": "SigmaColumn",
|
|
58
|
-
"option": 0,
|
|
59
|
-
"maxlen": 0,
|
|
60
|
-
"comment": "Estimated rms noise for channel with unity bandpass response",
|
|
61
|
-
"ndim": 1,
|
|
62
|
-
"_c_order": True,
|
|
63
|
-
"keywords": {},
|
|
64
|
-
},
|
|
65
|
-
"ANTENNA1": {
|
|
66
|
-
"valueType": "int",
|
|
67
|
-
"dataManagerType": "StandardStMan",
|
|
68
|
-
"dataManagerGroup": "SSM",
|
|
69
|
-
"option": 0,
|
|
70
|
-
"maxlen": 0,
|
|
71
|
-
"comment": "ID of first antenna in interferometer",
|
|
72
|
-
"keywords": {},
|
|
73
|
-
},
|
|
74
|
-
"ANTENNA2": {
|
|
75
|
-
"valueType": "int",
|
|
76
|
-
"dataManagerType": "StandardStMan",
|
|
77
|
-
"dataManagerGroup": "SSM",
|
|
78
|
-
"option": 0,
|
|
79
|
-
"maxlen": 0,
|
|
80
|
-
"comment": "ID of second antenna in interferometer",
|
|
81
|
-
"keywords": {},
|
|
82
|
-
},
|
|
83
|
-
"ARRAY_ID": {
|
|
84
|
-
"valueType": "int",
|
|
85
|
-
"dataManagerType": "IncrementalStMan",
|
|
86
|
-
"dataManagerGroup": "ismdata",
|
|
87
|
-
"option": 0,
|
|
88
|
-
"maxlen": 0,
|
|
89
|
-
"comment": "ID of array or subarray",
|
|
90
|
-
"keywords": {},
|
|
91
|
-
},
|
|
92
|
-
"DATA_DESC_ID": {
|
|
93
|
-
"valueType": "int",
|
|
94
|
-
"dataManagerType": "IncrementalStMan",
|
|
95
|
-
"dataManagerGroup": "ismdata",
|
|
96
|
-
"option": 0,
|
|
97
|
-
"maxlen": 0,
|
|
98
|
-
"comment": "The data description table index",
|
|
99
|
-
"keywords": {},
|
|
100
|
-
},
|
|
101
|
-
"EXPOSURE": {
|
|
102
|
-
"valueType": "double",
|
|
103
|
-
"dataManagerType": "IncrementalStMan",
|
|
104
|
-
"dataManagerGroup": "ismdata",
|
|
105
|
-
"option": 0,
|
|
106
|
-
"maxlen": 0,
|
|
107
|
-
"comment": "The effective integration time",
|
|
108
|
-
"keywords": {"QuantumUnits": ["s"]},
|
|
109
|
-
},
|
|
110
|
-
"FEED1": {
|
|
111
|
-
"valueType": "int",
|
|
112
|
-
"dataManagerType": "IncrementalStMan",
|
|
113
|
-
"dataManagerGroup": "ismdata",
|
|
114
|
-
"option": 0,
|
|
115
|
-
"maxlen": 0,
|
|
116
|
-
"comment": "The feed index for ANTENNA1",
|
|
117
|
-
"keywords": {},
|
|
118
|
-
},
|
|
119
|
-
"FEED2": {
|
|
120
|
-
"valueType": "int",
|
|
121
|
-
"dataManagerType": "IncrementalStMan",
|
|
122
|
-
"dataManagerGroup": "ismdata",
|
|
123
|
-
"option": 0,
|
|
124
|
-
"maxlen": 0,
|
|
125
|
-
"comment": "The feed index for ANTENNA2",
|
|
126
|
-
"keywords": {},
|
|
127
|
-
},
|
|
128
|
-
"FIELD_ID": {
|
|
129
|
-
"valueType": "int",
|
|
130
|
-
"dataManagerType": "IncrementalStMan",
|
|
131
|
-
"dataManagerGroup": "ismdata",
|
|
132
|
-
"option": 0,
|
|
133
|
-
"maxlen": 0,
|
|
134
|
-
"comment": "Unique id for this pointing",
|
|
135
|
-
"keywords": {},
|
|
136
|
-
},
|
|
137
|
-
"FLAG_ROW": {
|
|
138
|
-
"valueType": "boolean",
|
|
139
|
-
"dataManagerType": "IncrementalStMan",
|
|
140
|
-
"dataManagerGroup": "ismdata",
|
|
141
|
-
"option": 0,
|
|
142
|
-
"maxlen": 0,
|
|
143
|
-
"comment": "Row flag - flag all data in this row if True",
|
|
144
|
-
"keywords": {},
|
|
145
|
-
},
|
|
146
|
-
"INTERVAL": {
|
|
147
|
-
"valueType": "double",
|
|
148
|
-
"dataManagerType": "IncrementalStMan",
|
|
149
|
-
"dataManagerGroup": "ismdata",
|
|
150
|
-
"option": 0,
|
|
151
|
-
"maxlen": 0,
|
|
152
|
-
"comment": "The sampling interval",
|
|
153
|
-
"keywords": {"QuantumUnits": ["s"]},
|
|
154
|
-
},
|
|
155
|
-
"OBSERVATION_ID": {
|
|
156
|
-
"valueType": "int",
|
|
157
|
-
"dataManagerType": "IncrementalStMan",
|
|
158
|
-
"dataManagerGroup": "ismdata",
|
|
159
|
-
"option": 0,
|
|
160
|
-
"maxlen": 0,
|
|
161
|
-
"comment": "ID for this observation, index in OBSERVATION table",
|
|
162
|
-
"keywords": {},
|
|
163
|
-
},
|
|
164
|
-
"PROCESSOR_ID": {
|
|
165
|
-
"valueType": "int",
|
|
166
|
-
"dataManagerType": "IncrementalStMan",
|
|
167
|
-
"dataManagerGroup": "ismdata",
|
|
168
|
-
"option": 0,
|
|
169
|
-
"maxlen": 0,
|
|
170
|
-
"comment": "Id for backend processor, index in PROCESSOR table",
|
|
171
|
-
"keywords": {},
|
|
172
|
-
},
|
|
173
|
-
"SCAN_NUMBER": {
|
|
174
|
-
"valueType": "int",
|
|
175
|
-
"dataManagerType": "IncrementalStMan",
|
|
176
|
-
"dataManagerGroup": "ismdata",
|
|
177
|
-
"option": 0,
|
|
178
|
-
"maxlen": 0,
|
|
179
|
-
"comment": "Sequential scan number from on-line system",
|
|
180
|
-
"keywords": {},
|
|
181
|
-
},
|
|
182
|
-
"STATE_ID": {
|
|
183
|
-
"valueType": "int",
|
|
184
|
-
"dataManagerType": "IncrementalStMan",
|
|
185
|
-
"dataManagerGroup": "ismdata",
|
|
186
|
-
"option": 0,
|
|
187
|
-
"maxlen": 0,
|
|
188
|
-
"comment": "ID for this observing state",
|
|
189
|
-
"keywords": {},
|
|
190
|
-
},
|
|
191
|
-
"TIME": {
|
|
192
|
-
"valueType": "double",
|
|
193
|
-
"dataManagerType": "IncrementalStMan",
|
|
194
|
-
"dataManagerGroup": "ismdata",
|
|
195
|
-
"option": 0,
|
|
196
|
-
"maxlen": 0,
|
|
197
|
-
"comment": "Modified Julian Day",
|
|
198
|
-
"keywords": {
|
|
199
|
-
"QuantumUnits": ["s"],
|
|
200
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
201
|
-
},
|
|
202
|
-
},
|
|
203
|
-
"TIME_CENTROID": {
|
|
204
|
-
"valueType": "double",
|
|
205
|
-
"dataManagerType": "IncrementalStMan",
|
|
206
|
-
"dataManagerGroup": "ismdata",
|
|
207
|
-
"option": 0,
|
|
208
|
-
"maxlen": 0,
|
|
209
|
-
"comment": "Modified Julian Day",
|
|
210
|
-
"keywords": {
|
|
211
|
-
"QuantumUnits": ["s"],
|
|
212
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
213
|
-
},
|
|
214
|
-
},
|
|
215
|
-
"DATA": {
|
|
216
|
-
"valueType": "complex",
|
|
217
|
-
"dataManagerType": "TiledShapeStMan",
|
|
218
|
-
"dataManagerGroup": "dataHyperColumn",
|
|
219
|
-
"option": 0,
|
|
220
|
-
"maxlen": 0,
|
|
221
|
-
"comment": "The data column",
|
|
222
|
-
"ndim": 2,
|
|
223
|
-
"_c_order": True,
|
|
224
|
-
"keywords": {},
|
|
225
|
-
},
|
|
226
|
-
"MODEL_DATA": {
|
|
227
|
-
"valueType": "complex",
|
|
228
|
-
"dataManagerType": "TiledShapeStMan",
|
|
229
|
-
"dataManagerGroup": "ModelDataColumn",
|
|
230
|
-
"option": 0,
|
|
231
|
-
"maxlen": 0,
|
|
232
|
-
"comment": "The model data column",
|
|
233
|
-
"ndim": 2,
|
|
234
|
-
"_c_order": True,
|
|
235
|
-
"keywords": {},
|
|
236
|
-
},
|
|
237
|
-
"CORRECTED_DATA": {
|
|
238
|
-
"valueType": "complex",
|
|
239
|
-
"dataManagerType": "TiledShapeStMan",
|
|
240
|
-
"dataManagerGroup": "CorrectedDataColumn",
|
|
241
|
-
"option": 0,
|
|
242
|
-
"maxlen": 0,
|
|
243
|
-
"comment": "The corrected data column",
|
|
244
|
-
"ndim": 2,
|
|
245
|
-
"_c_order": True,
|
|
246
|
-
"keywords": {},
|
|
247
|
-
},
|
|
248
|
-
"ROWID": {
|
|
249
|
-
"valueType": "int",
|
|
250
|
-
"dataManagerType": "StandardStMan",
|
|
251
|
-
"dataManagerGroup": "StandardStMan",
|
|
252
|
-
"option": 0,
|
|
253
|
-
"maxlen": 0,
|
|
254
|
-
"comment": "ROWID column",
|
|
255
|
-
"keywords": {},
|
|
256
|
-
},
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
# spectral_window_column_description['CHAN_FREQ']['keywords']['MEASINFO']['TabRefCodes']
|
|
260
|
-
# spectral_window_column_description['REF_FREQUENCY']['keywords']['MEASINFO']['TabRefCodes']
|
|
261
|
-
spectral_window_column_description = {
|
|
262
|
-
"MEAS_FREQ_REF": {
|
|
263
|
-
"valueType": "int",
|
|
264
|
-
"dataManagerType": "StandardStMan",
|
|
265
|
-
"dataManagerGroup": "StandardStMan",
|
|
266
|
-
"option": 0,
|
|
267
|
-
"maxlen": 0,
|
|
268
|
-
"comment": "Frequency Measure reference",
|
|
269
|
-
"keywords": {},
|
|
270
|
-
},
|
|
271
|
-
"CHAN_FREQ": {
|
|
272
|
-
"valueType": "double",
|
|
273
|
-
"dataManagerType": "StandardStMan",
|
|
274
|
-
"dataManagerGroup": "StandardStMan",
|
|
275
|
-
"option": 0,
|
|
276
|
-
"maxlen": 0,
|
|
277
|
-
"comment": "Center frequencies for each channel in the data matrix",
|
|
278
|
-
"ndim": 1,
|
|
279
|
-
"_c_order": True,
|
|
280
|
-
"keywords": {
|
|
281
|
-
"QuantumUnits": ["Hz"],
|
|
282
|
-
"MEASINFO": {
|
|
283
|
-
"type": "frequency",
|
|
284
|
-
"VarRefCol": "MEAS_FREQ_REF",
|
|
285
|
-
"TabRefTypes": [
|
|
286
|
-
"REST",
|
|
287
|
-
"LSRK",
|
|
288
|
-
"LSRD",
|
|
289
|
-
"BARY",
|
|
290
|
-
"GEO",
|
|
291
|
-
"TOPO",
|
|
292
|
-
"GALACTO",
|
|
293
|
-
"LGROUP",
|
|
294
|
-
"CMB",
|
|
295
|
-
"Undefined",
|
|
296
|
-
],
|
|
297
|
-
"TabRefCodes": np.array(
|
|
298
|
-
[0, 1, 2, 3, 4, 5, 6, 7, 8, 64], dtype=np.uint32
|
|
299
|
-
),
|
|
300
|
-
},
|
|
301
|
-
},
|
|
302
|
-
},
|
|
303
|
-
"REF_FREQUENCY": {
|
|
304
|
-
"valueType": "double",
|
|
305
|
-
"dataManagerType": "StandardStMan",
|
|
306
|
-
"dataManagerGroup": "StandardStMan",
|
|
307
|
-
"option": 0,
|
|
308
|
-
"maxlen": 0,
|
|
309
|
-
"comment": "The reference frequency",
|
|
310
|
-
"keywords": {
|
|
311
|
-
"QuantumUnits": ["Hz"],
|
|
312
|
-
"MEASINFO": {
|
|
313
|
-
"type": "frequency",
|
|
314
|
-
"VarRefCol": "MEAS_FREQ_REF",
|
|
315
|
-
"TabRefTypes": [
|
|
316
|
-
"REST",
|
|
317
|
-
"LSRK",
|
|
318
|
-
"LSRD",
|
|
319
|
-
"BARY",
|
|
320
|
-
"GEO",
|
|
321
|
-
"TOPO",
|
|
322
|
-
"GALACTO",
|
|
323
|
-
"LGROUP",
|
|
324
|
-
"CMB",
|
|
325
|
-
"Undefined",
|
|
326
|
-
],
|
|
327
|
-
"TabRefCodes": np.array(
|
|
328
|
-
[0, 1, 2, 3, 4, 5, 6, 7, 8, 64], dtype=np.uint32
|
|
329
|
-
),
|
|
330
|
-
},
|
|
331
|
-
},
|
|
332
|
-
},
|
|
333
|
-
"CHAN_WIDTH": {
|
|
334
|
-
"valueType": "double",
|
|
335
|
-
"dataManagerType": "StandardStMan",
|
|
336
|
-
"dataManagerGroup": "StandardStMan",
|
|
337
|
-
"option": 0,
|
|
338
|
-
"maxlen": 0,
|
|
339
|
-
"comment": "Channel width for each channel",
|
|
340
|
-
"ndim": 1,
|
|
341
|
-
"_c_order": True,
|
|
342
|
-
"keywords": {"QuantumUnits": ["Hz"]},
|
|
343
|
-
},
|
|
344
|
-
"EFFECTIVE_BW": {
|
|
345
|
-
"valueType": "double",
|
|
346
|
-
"dataManagerType": "StandardStMan",
|
|
347
|
-
"dataManagerGroup": "StandardStMan",
|
|
348
|
-
"option": 0,
|
|
349
|
-
"maxlen": 0,
|
|
350
|
-
"comment": "Effective noise bandwidth of each channel",
|
|
351
|
-
"ndim": 1,
|
|
352
|
-
"_c_order": True,
|
|
353
|
-
"keywords": {"QuantumUnits": ["Hz"]},
|
|
354
|
-
},
|
|
355
|
-
"RESOLUTION": {
|
|
356
|
-
"valueType": "double",
|
|
357
|
-
"dataManagerType": "StandardStMan",
|
|
358
|
-
"dataManagerGroup": "StandardStMan",
|
|
359
|
-
"option": 0,
|
|
360
|
-
"maxlen": 0,
|
|
361
|
-
"comment": "The effective noise bandwidth for each channel",
|
|
362
|
-
"ndim": 1,
|
|
363
|
-
"_c_order": True,
|
|
364
|
-
"keywords": {"QuantumUnits": ["Hz"]},
|
|
365
|
-
},
|
|
366
|
-
"FLAG_ROW": {
|
|
367
|
-
"valueType": "boolean",
|
|
368
|
-
"dataManagerType": "StandardStMan",
|
|
369
|
-
"dataManagerGroup": "StandardStMan",
|
|
370
|
-
"option": 0,
|
|
371
|
-
"maxlen": 0,
|
|
372
|
-
"comment": "Row flag",
|
|
373
|
-
"keywords": {},
|
|
374
|
-
},
|
|
375
|
-
"FREQ_GROUP": {
|
|
376
|
-
"valueType": "int",
|
|
377
|
-
"dataManagerType": "StandardStMan",
|
|
378
|
-
"dataManagerGroup": "StandardStMan",
|
|
379
|
-
"option": 0,
|
|
380
|
-
"maxlen": 0,
|
|
381
|
-
"comment": "Frequency group",
|
|
382
|
-
"keywords": {},
|
|
383
|
-
},
|
|
384
|
-
"FREQ_GROUP_NAME": {
|
|
385
|
-
"valueType": "string",
|
|
386
|
-
"dataManagerType": "StandardStMan",
|
|
387
|
-
"dataManagerGroup": "StandardStMan",
|
|
388
|
-
"option": 0,
|
|
389
|
-
"maxlen": 0,
|
|
390
|
-
"comment": "Frequency group name",
|
|
391
|
-
"keywords": {},
|
|
392
|
-
},
|
|
393
|
-
"IF_CONV_CHAIN": {
|
|
394
|
-
"valueType": "int",
|
|
395
|
-
"dataManagerType": "StandardStMan",
|
|
396
|
-
"dataManagerGroup": "StandardStMan",
|
|
397
|
-
"option": 0,
|
|
398
|
-
"maxlen": 0,
|
|
399
|
-
"comment": "The IF conversion chain number",
|
|
400
|
-
"keywords": {},
|
|
401
|
-
},
|
|
402
|
-
"NAME": {
|
|
403
|
-
"valueType": "string",
|
|
404
|
-
"dataManagerType": "StandardStMan",
|
|
405
|
-
"dataManagerGroup": "StandardStMan",
|
|
406
|
-
"option": 0,
|
|
407
|
-
"maxlen": 0,
|
|
408
|
-
"comment": "Spectral window name",
|
|
409
|
-
"keywords": {},
|
|
410
|
-
},
|
|
411
|
-
"NET_SIDEBAND": {
|
|
412
|
-
"valueType": "int",
|
|
413
|
-
"dataManagerType": "StandardStMan",
|
|
414
|
-
"dataManagerGroup": "StandardStMan",
|
|
415
|
-
"option": 0,
|
|
416
|
-
"maxlen": 0,
|
|
417
|
-
"comment": "Net sideband",
|
|
418
|
-
"keywords": {},
|
|
419
|
-
},
|
|
420
|
-
"NUM_CHAN": {
|
|
421
|
-
"valueType": "int",
|
|
422
|
-
"dataManagerType": "StandardStMan",
|
|
423
|
-
"dataManagerGroup": "StandardStMan",
|
|
424
|
-
"option": 0,
|
|
425
|
-
"maxlen": 0,
|
|
426
|
-
"comment": "Number of spectral channels",
|
|
427
|
-
"keywords": {},
|
|
428
|
-
},
|
|
429
|
-
"TOTAL_BANDWIDTH": {
|
|
430
|
-
"valueType": "double",
|
|
431
|
-
"dataManagerType": "StandardStMan",
|
|
432
|
-
"dataManagerGroup": "StandardStMan",
|
|
433
|
-
"option": 0,
|
|
434
|
-
"maxlen": 0,
|
|
435
|
-
"comment": "The total bandwidth for this window",
|
|
436
|
-
"keywords": {"QuantumUnits": ["Hz"]},
|
|
437
|
-
},
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
polarization_column_description = {
|
|
442
|
-
"CORR_TYPE": {
|
|
443
|
-
"valueType": "int",
|
|
444
|
-
"dataManagerType": "StandardStMan",
|
|
445
|
-
"dataManagerGroup": "StandardStMan",
|
|
446
|
-
"option": 0,
|
|
447
|
-
"maxlen": 0,
|
|
448
|
-
"comment": "The polarization type for each correlation product, as a Stokes enum.",
|
|
449
|
-
"ndim": 1,
|
|
450
|
-
"_c_order": True,
|
|
451
|
-
"keywords": {},
|
|
452
|
-
},
|
|
453
|
-
"CORR_PRODUCT": {
|
|
454
|
-
"valueType": "int",
|
|
455
|
-
"dataManagerType": "StandardStMan",
|
|
456
|
-
"dataManagerGroup": "StandardStMan",
|
|
457
|
-
"option": 0,
|
|
458
|
-
"maxlen": 0,
|
|
459
|
-
"comment": "Indices describing receptors of feed going into correlation",
|
|
460
|
-
"ndim": 2,
|
|
461
|
-
"_c_order": True,
|
|
462
|
-
"keywords": {},
|
|
463
|
-
},
|
|
464
|
-
"FLAG_ROW": {
|
|
465
|
-
"valueType": "boolean",
|
|
466
|
-
"dataManagerType": "StandardStMan",
|
|
467
|
-
"dataManagerGroup": "StandardStMan",
|
|
468
|
-
"option": 0,
|
|
469
|
-
"maxlen": 0,
|
|
470
|
-
"comment": "Row flag",
|
|
471
|
-
"keywords": {},
|
|
472
|
-
},
|
|
473
|
-
"NUM_CORR": {
|
|
474
|
-
"valueType": "int",
|
|
475
|
-
"dataManagerType": "StandardStMan",
|
|
476
|
-
"dataManagerGroup": "StandardStMan",
|
|
477
|
-
"option": 0,
|
|
478
|
-
"maxlen": 0,
|
|
479
|
-
"comment": "Number of correlation products",
|
|
480
|
-
"keywords": {},
|
|
481
|
-
},
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
data_description_column_description = {
|
|
486
|
-
"FLAG_ROW": {
|
|
487
|
-
"valueType": "boolean",
|
|
488
|
-
"dataManagerType": "StandardStMan",
|
|
489
|
-
"dataManagerGroup": "StandardStMan",
|
|
490
|
-
"option": 0,
|
|
491
|
-
"maxlen": 0,
|
|
492
|
-
"comment": "Flag this row",
|
|
493
|
-
"keywords": {},
|
|
494
|
-
},
|
|
495
|
-
"POLARIZATION_ID": {
|
|
496
|
-
"valueType": "int",
|
|
497
|
-
"dataManagerType": "StandardStMan",
|
|
498
|
-
"dataManagerGroup": "StandardStMan",
|
|
499
|
-
"option": 0,
|
|
500
|
-
"maxlen": 0,
|
|
501
|
-
"comment": "Pointer to polarization table",
|
|
502
|
-
"keywords": {},
|
|
503
|
-
},
|
|
504
|
-
"SPECTRAL_WINDOW_ID": {
|
|
505
|
-
"valueType": "int",
|
|
506
|
-
"dataManagerType": "StandardStMan",
|
|
507
|
-
"dataManagerGroup": "StandardStMan",
|
|
508
|
-
"option": 0,
|
|
509
|
-
"maxlen": 0,
|
|
510
|
-
"comment": "Pointer to spectralwindow table",
|
|
511
|
-
"keywords": {},
|
|
512
|
-
},
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
# antenna_column_description['OFFSET']['shape']
|
|
516
|
-
# antenna_column_description['POSITION']['shape']
|
|
517
|
-
antenna_column_description = {
|
|
518
|
-
"OFFSET": {
|
|
519
|
-
"valueType": "double",
|
|
520
|
-
"dataManagerType": "StandardStMan",
|
|
521
|
-
"dataManagerGroup": "StandardStMan",
|
|
522
|
-
"option": 5,
|
|
523
|
-
"maxlen": 0,
|
|
524
|
-
"comment": "Axes offset of mount to FEED REFERENCE point",
|
|
525
|
-
"ndim": 1,
|
|
526
|
-
"shape": np.array([3]),
|
|
527
|
-
"_c_order": True,
|
|
528
|
-
"keywords": {
|
|
529
|
-
"QuantumUnits": ["m", "m", "m"],
|
|
530
|
-
"MEASINFO": {"type": "position", "Ref": "ITRF"},
|
|
531
|
-
},
|
|
532
|
-
},
|
|
533
|
-
"POSITION": {
|
|
534
|
-
"valueType": "double",
|
|
535
|
-
"dataManagerType": "StandardStMan",
|
|
536
|
-
"dataManagerGroup": "StandardStMan",
|
|
537
|
-
"option": 5,
|
|
538
|
-
"maxlen": 0,
|
|
539
|
-
"comment": "Antenna X,Y,Z phase reference position",
|
|
540
|
-
"ndim": 1,
|
|
541
|
-
"shape": np.array([3]),
|
|
542
|
-
"_c_order": True,
|
|
543
|
-
"keywords": {
|
|
544
|
-
"QuantumUnits": ["m", "m", "m"],
|
|
545
|
-
"MEASINFO": {"type": "position", "Ref": "ITRF"},
|
|
546
|
-
},
|
|
547
|
-
},
|
|
548
|
-
"TYPE": {
|
|
549
|
-
"valueType": "string",
|
|
550
|
-
"dataManagerType": "StandardStMan",
|
|
551
|
-
"dataManagerGroup": "StandardStMan",
|
|
552
|
-
"option": 0,
|
|
553
|
-
"maxlen": 0,
|
|
554
|
-
"comment": "Antenna type (e.g. SPACE-BASED)",
|
|
555
|
-
"keywords": {},
|
|
556
|
-
},
|
|
557
|
-
"DISH_DIAMETER": {
|
|
558
|
-
"valueType": "double",
|
|
559
|
-
"dataManagerType": "StandardStMan",
|
|
560
|
-
"dataManagerGroup": "StandardStMan",
|
|
561
|
-
"option": 0,
|
|
562
|
-
"maxlen": 0,
|
|
563
|
-
"comment": "Physical diameter of dish",
|
|
564
|
-
"keywords": {"QuantumUnits": ["m"]},
|
|
565
|
-
},
|
|
566
|
-
"FLAG_ROW": {
|
|
567
|
-
"valueType": "boolean",
|
|
568
|
-
"dataManagerType": "StandardStMan",
|
|
569
|
-
"dataManagerGroup": "StandardStMan",
|
|
570
|
-
"option": 0,
|
|
571
|
-
"maxlen": 0,
|
|
572
|
-
"comment": "Flag for this row",
|
|
573
|
-
"keywords": {},
|
|
574
|
-
},
|
|
575
|
-
"MOUNT": {
|
|
576
|
-
"valueType": "string",
|
|
577
|
-
"dataManagerType": "StandardStMan",
|
|
578
|
-
"dataManagerGroup": "StandardStMan",
|
|
579
|
-
"option": 0,
|
|
580
|
-
"maxlen": 0,
|
|
581
|
-
"comment": "Mount type e.g. alt-az, equatorial, etc.",
|
|
582
|
-
"keywords": {},
|
|
583
|
-
},
|
|
584
|
-
"NAME": {
|
|
585
|
-
"valueType": "string",
|
|
586
|
-
"dataManagerType": "StandardStMan",
|
|
587
|
-
"dataManagerGroup": "StandardStMan",
|
|
588
|
-
"option": 0,
|
|
589
|
-
"maxlen": 0,
|
|
590
|
-
"comment": "Antenna name, e.g. VLA22, CA03",
|
|
591
|
-
"keywords": {},
|
|
592
|
-
},
|
|
593
|
-
"STATION": {
|
|
594
|
-
"valueType": "string",
|
|
595
|
-
"dataManagerType": "StandardStMan",
|
|
596
|
-
"dataManagerGroup": "StandardStMan",
|
|
597
|
-
"option": 0,
|
|
598
|
-
"maxlen": 0,
|
|
599
|
-
"comment": "Station (antenna pad) name",
|
|
600
|
-
"keywords": {},
|
|
601
|
-
},
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
# feed_column_description['POSITION']['shape']
|
|
605
|
-
feed_column_description = {
|
|
606
|
-
"POSITION": {
|
|
607
|
-
"valueType": "double",
|
|
608
|
-
"dataManagerType": "StandardStMan",
|
|
609
|
-
"dataManagerGroup": "StandardStMan",
|
|
610
|
-
"option": 5,
|
|
611
|
-
"maxlen": 0,
|
|
612
|
-
"comment": "Position of feed relative to feed reference position",
|
|
613
|
-
"ndim": 1,
|
|
614
|
-
"shape": np.array([3]),
|
|
615
|
-
"_c_order": True,
|
|
616
|
-
"keywords": {
|
|
617
|
-
"QuantumUnits": ["m", "m", "m"],
|
|
618
|
-
"MEASINFO": {"type": "position", "Ref": "ITRF"},
|
|
619
|
-
},
|
|
620
|
-
},
|
|
621
|
-
"BEAM_OFFSET": {
|
|
622
|
-
"valueType": "double",
|
|
623
|
-
"dataManagerType": "StandardStMan",
|
|
624
|
-
"dataManagerGroup": "StandardStMan",
|
|
625
|
-
"option": 0,
|
|
626
|
-
"maxlen": 0,
|
|
627
|
-
"comment": "Beam position offset (on sky but in antennareference frame)",
|
|
628
|
-
"ndim": 2,
|
|
629
|
-
"_c_order": True,
|
|
630
|
-
"keywords": {
|
|
631
|
-
"QuantumUnits": ["rad", "rad"],
|
|
632
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
633
|
-
},
|
|
634
|
-
},
|
|
635
|
-
"POLARIZATION_TYPE": {
|
|
636
|
-
"valueType": "string",
|
|
637
|
-
"dataManagerType": "StandardStMan",
|
|
638
|
-
"dataManagerGroup": "StandardStMan",
|
|
639
|
-
"option": 0,
|
|
640
|
-
"maxlen": 0,
|
|
641
|
-
"comment": "Type of polarization to which a given RECEPTOR responds",
|
|
642
|
-
"ndim": 1,
|
|
643
|
-
"_c_order": True,
|
|
644
|
-
"keywords": {},
|
|
645
|
-
},
|
|
646
|
-
"POL_RESPONSE": {
|
|
647
|
-
"valueType": "complex",
|
|
648
|
-
"dataManagerType": "StandardStMan",
|
|
649
|
-
"dataManagerGroup": "StandardStMan",
|
|
650
|
-
"option": 0,
|
|
651
|
-
"maxlen": 0,
|
|
652
|
-
"comment": "D-matrix i.e. leakage between two receptors",
|
|
653
|
-
"ndim": 2,
|
|
654
|
-
"_c_order": True,
|
|
655
|
-
"keywords": {},
|
|
656
|
-
},
|
|
657
|
-
"RECEPTOR_ANGLE": {
|
|
658
|
-
"valueType": "double",
|
|
659
|
-
"dataManagerType": "StandardStMan",
|
|
660
|
-
"dataManagerGroup": "StandardStMan",
|
|
661
|
-
"option": 0,
|
|
662
|
-
"maxlen": 0,
|
|
663
|
-
"comment": "The reference angle for polarization",
|
|
664
|
-
"ndim": 1,
|
|
665
|
-
"_c_order": True,
|
|
666
|
-
"keywords": {"QuantumUnits": ["rad"]},
|
|
667
|
-
},
|
|
668
|
-
"ANTENNA_ID": {
|
|
669
|
-
"valueType": "int",
|
|
670
|
-
"dataManagerType": "StandardStMan",
|
|
671
|
-
"dataManagerGroup": "StandardStMan",
|
|
672
|
-
"option": 0,
|
|
673
|
-
"maxlen": 0,
|
|
674
|
-
"comment": "ID of antenna in this array",
|
|
675
|
-
"keywords": {},
|
|
676
|
-
},
|
|
677
|
-
"BEAM_ID": {
|
|
678
|
-
"valueType": "int",
|
|
679
|
-
"dataManagerType": "StandardStMan",
|
|
680
|
-
"dataManagerGroup": "StandardStMan",
|
|
681
|
-
"option": 0,
|
|
682
|
-
"maxlen": 0,
|
|
683
|
-
"comment": "Id for BEAM model",
|
|
684
|
-
"keywords": {},
|
|
685
|
-
},
|
|
686
|
-
"FEED_ID": {
|
|
687
|
-
"valueType": "int",
|
|
688
|
-
"dataManagerType": "StandardStMan",
|
|
689
|
-
"dataManagerGroup": "StandardStMan",
|
|
690
|
-
"option": 0,
|
|
691
|
-
"maxlen": 0,
|
|
692
|
-
"comment": "Feed id",
|
|
693
|
-
"keywords": {},
|
|
694
|
-
},
|
|
695
|
-
"INTERVAL": {
|
|
696
|
-
"valueType": "double",
|
|
697
|
-
"dataManagerType": "StandardStMan",
|
|
698
|
-
"dataManagerGroup": "StandardStMan",
|
|
699
|
-
"option": 0,
|
|
700
|
-
"maxlen": 0,
|
|
701
|
-
"comment": "Interval for which this set of parameters is accurate",
|
|
702
|
-
"keywords": {"QuantumUnits": ["s"]},
|
|
703
|
-
},
|
|
704
|
-
"NUM_RECEPTORS": {
|
|
705
|
-
"valueType": "int",
|
|
706
|
-
"dataManagerType": "StandardStMan",
|
|
707
|
-
"dataManagerGroup": "StandardStMan",
|
|
708
|
-
"option": 0,
|
|
709
|
-
"maxlen": 0,
|
|
710
|
-
"comment": "Number of receptors on this feed (probably 1 or 2)",
|
|
711
|
-
"keywords": {},
|
|
712
|
-
},
|
|
713
|
-
"SPECTRAL_WINDOW_ID": {
|
|
714
|
-
"valueType": "int",
|
|
715
|
-
"dataManagerType": "StandardStMan",
|
|
716
|
-
"dataManagerGroup": "StandardStMan",
|
|
717
|
-
"option": 0,
|
|
718
|
-
"maxlen": 0,
|
|
719
|
-
"comment": "ID for this spectral window setup",
|
|
720
|
-
"keywords": {},
|
|
721
|
-
},
|
|
722
|
-
"TIME": {
|
|
723
|
-
"valueType": "double",
|
|
724
|
-
"dataManagerType": "StandardStMan",
|
|
725
|
-
"dataManagerGroup": "StandardStMan",
|
|
726
|
-
"option": 0,
|
|
727
|
-
"maxlen": 0,
|
|
728
|
-
"comment": "Midpoint of time for which this set of parameters is accurate",
|
|
729
|
-
"keywords": {
|
|
730
|
-
"QuantumUnits": ["s"],
|
|
731
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
732
|
-
},
|
|
733
|
-
},
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
field_column_description = {
|
|
738
|
-
"DELAY_DIR": {
|
|
739
|
-
"valueType": "double",
|
|
740
|
-
"dataManagerType": "StandardStMan",
|
|
741
|
-
"dataManagerGroup": "StandardStMan",
|
|
742
|
-
"option": 0,
|
|
743
|
-
"maxlen": 0,
|
|
744
|
-
"comment": "Direction of delay center (e.g. RA, DEC)as polynomial in time.",
|
|
745
|
-
"ndim": 2,
|
|
746
|
-
"_c_order": True,
|
|
747
|
-
"keywords": {
|
|
748
|
-
"QuantumUnits": ["rad", "rad"],
|
|
749
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
750
|
-
},
|
|
751
|
-
},
|
|
752
|
-
"PHASE_DIR": {
|
|
753
|
-
"valueType": "double",
|
|
754
|
-
"dataManagerType": "StandardStMan",
|
|
755
|
-
"dataManagerGroup": "StandardStMan",
|
|
756
|
-
"option": 0,
|
|
757
|
-
"maxlen": 0,
|
|
758
|
-
"comment": "Direction of phase center (e.g. RA, DEC).",
|
|
759
|
-
"ndim": 2,
|
|
760
|
-
"_c_order": True,
|
|
761
|
-
"keywords": {
|
|
762
|
-
"QuantumUnits": ["rad", "rad"],
|
|
763
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
764
|
-
},
|
|
765
|
-
},
|
|
766
|
-
"REFERENCE_DIR": {
|
|
767
|
-
"valueType": "double",
|
|
768
|
-
"dataManagerType": "StandardStMan",
|
|
769
|
-
"dataManagerGroup": "StandardStMan",
|
|
770
|
-
"option": 0,
|
|
771
|
-
"maxlen": 0,
|
|
772
|
-
"comment": "Direction of REFERENCE center (e.g. RA, DEC).as polynomial in time.",
|
|
773
|
-
"ndim": 2,
|
|
774
|
-
"_c_order": True,
|
|
775
|
-
"keywords": {
|
|
776
|
-
"QuantumUnits": ["rad", "rad"],
|
|
777
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
778
|
-
},
|
|
779
|
-
},
|
|
780
|
-
"CODE": {
|
|
781
|
-
"valueType": "string",
|
|
782
|
-
"dataManagerType": "StandardStMan",
|
|
783
|
-
"dataManagerGroup": "StandardStMan",
|
|
784
|
-
"option": 0,
|
|
785
|
-
"maxlen": 0,
|
|
786
|
-
"comment": "Special characteristics of field, e.g. Bandpass calibrator",
|
|
787
|
-
"keywords": {},
|
|
788
|
-
},
|
|
789
|
-
"FLAG_ROW": {
|
|
790
|
-
"valueType": "boolean",
|
|
791
|
-
"dataManagerType": "StandardStMan",
|
|
792
|
-
"dataManagerGroup": "StandardStMan",
|
|
793
|
-
"option": 0,
|
|
794
|
-
"maxlen": 0,
|
|
795
|
-
"comment": "Row Flag",
|
|
796
|
-
"keywords": {},
|
|
797
|
-
},
|
|
798
|
-
"NAME": {
|
|
799
|
-
"valueType": "string",
|
|
800
|
-
"dataManagerType": "StandardStMan",
|
|
801
|
-
"dataManagerGroup": "StandardStMan",
|
|
802
|
-
"option": 0,
|
|
803
|
-
"maxlen": 0,
|
|
804
|
-
"comment": "Name of this field",
|
|
805
|
-
"keywords": {},
|
|
806
|
-
},
|
|
807
|
-
"NUM_POLY": {
|
|
808
|
-
"valueType": "int",
|
|
809
|
-
"dataManagerType": "StandardStMan",
|
|
810
|
-
"dataManagerGroup": "StandardStMan",
|
|
811
|
-
"option": 0,
|
|
812
|
-
"maxlen": 0,
|
|
813
|
-
"comment": "Polynomial order of _DIR columns",
|
|
814
|
-
"keywords": {},
|
|
815
|
-
},
|
|
816
|
-
"SOURCE_ID": {
|
|
817
|
-
"valueType": "int",
|
|
818
|
-
"dataManagerType": "StandardStMan",
|
|
819
|
-
"dataManagerGroup": "StandardStMan",
|
|
820
|
-
"option": 0,
|
|
821
|
-
"maxlen": 0,
|
|
822
|
-
"comment": "Source id",
|
|
823
|
-
"keywords": {},
|
|
824
|
-
},
|
|
825
|
-
"TIME": {
|
|
826
|
-
"valueType": "double",
|
|
827
|
-
"dataManagerType": "StandardStMan",
|
|
828
|
-
"dataManagerGroup": "StandardStMan",
|
|
829
|
-
"option": 0,
|
|
830
|
-
"maxlen": 0,
|
|
831
|
-
"comment": "Time origin for direction and rate",
|
|
832
|
-
"keywords": {
|
|
833
|
-
"QuantumUnits": ["s"],
|
|
834
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
835
|
-
},
|
|
836
|
-
},
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
history_column_description = {
|
|
841
|
-
"APP_PARAMS": {
|
|
842
|
-
"valueType": "string",
|
|
843
|
-
"dataManagerType": "StandardStMan",
|
|
844
|
-
"dataManagerGroup": "StandardStMan",
|
|
845
|
-
"option": 0,
|
|
846
|
-
"maxlen": 0,
|
|
847
|
-
"comment": "Application parameters",
|
|
848
|
-
"ndim": 1,
|
|
849
|
-
"_c_order": True,
|
|
850
|
-
"keywords": {},
|
|
851
|
-
},
|
|
852
|
-
"CLI_COMMAND": {
|
|
853
|
-
"valueType": "string",
|
|
854
|
-
"dataManagerType": "StandardStMan",
|
|
855
|
-
"dataManagerGroup": "StandardStMan",
|
|
856
|
-
"option": 0,
|
|
857
|
-
"maxlen": 0,
|
|
858
|
-
"comment": "CLI command sequence",
|
|
859
|
-
"ndim": 1,
|
|
860
|
-
"_c_order": True,
|
|
861
|
-
"keywords": {},
|
|
862
|
-
},
|
|
863
|
-
"APPLICATION": {
|
|
864
|
-
"valueType": "string",
|
|
865
|
-
"dataManagerType": "StandardStMan",
|
|
866
|
-
"dataManagerGroup": "StandardStMan",
|
|
867
|
-
"option": 0,
|
|
868
|
-
"maxlen": 0,
|
|
869
|
-
"comment": "Application name",
|
|
870
|
-
"keywords": {},
|
|
871
|
-
},
|
|
872
|
-
"MESSAGE": {
|
|
873
|
-
"valueType": "string",
|
|
874
|
-
"dataManagerType": "StandardStMan",
|
|
875
|
-
"dataManagerGroup": "StandardStMan",
|
|
876
|
-
"option": 0,
|
|
877
|
-
"maxlen": 0,
|
|
878
|
-
"comment": "Log message",
|
|
879
|
-
"keywords": {},
|
|
880
|
-
},
|
|
881
|
-
"OBJECT_ID": {
|
|
882
|
-
"valueType": "int",
|
|
883
|
-
"dataManagerType": "StandardStMan",
|
|
884
|
-
"dataManagerGroup": "StandardStMan",
|
|
885
|
-
"option": 0,
|
|
886
|
-
"maxlen": 0,
|
|
887
|
-
"comment": "Originating ObjectID",
|
|
888
|
-
"keywords": {},
|
|
889
|
-
},
|
|
890
|
-
"OBSERVATION_ID": {
|
|
891
|
-
"valueType": "int",
|
|
892
|
-
"dataManagerType": "StandardStMan",
|
|
893
|
-
"dataManagerGroup": "StandardStMan",
|
|
894
|
-
"option": 0,
|
|
895
|
-
"maxlen": 0,
|
|
896
|
-
"comment": "Observation id (index in OBSERVATION table)",
|
|
897
|
-
"keywords": {},
|
|
898
|
-
},
|
|
899
|
-
"ORIGIN": {
|
|
900
|
-
"valueType": "string",
|
|
901
|
-
"dataManagerType": "StandardStMan",
|
|
902
|
-
"dataManagerGroup": "StandardStMan",
|
|
903
|
-
"option": 0,
|
|
904
|
-
"maxlen": 0,
|
|
905
|
-
"comment": "(Source code) origin from which message originated",
|
|
906
|
-
"keywords": {},
|
|
907
|
-
},
|
|
908
|
-
"PRIORITY": {
|
|
909
|
-
"valueType": "string",
|
|
910
|
-
"dataManagerType": "StandardStMan",
|
|
911
|
-
"dataManagerGroup": "StandardStMan",
|
|
912
|
-
"option": 0,
|
|
913
|
-
"maxlen": 0,
|
|
914
|
-
"comment": "Message priority",
|
|
915
|
-
"keywords": {},
|
|
916
|
-
},
|
|
917
|
-
"TIME": {
|
|
918
|
-
"valueType": "double",
|
|
919
|
-
"dataManagerType": "StandardStMan",
|
|
920
|
-
"dataManagerGroup": "StandardStMan",
|
|
921
|
-
"option": 0,
|
|
922
|
-
"maxlen": 0,
|
|
923
|
-
"comment": "Timestamp of message",
|
|
924
|
-
"keywords": {
|
|
925
|
-
"QuantumUnits": ["s"],
|
|
926
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
927
|
-
},
|
|
928
|
-
},
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
# observation_column_description['TIME_RANGE']['shape']
|
|
932
|
-
observation_column_description = {
|
|
933
|
-
"TIME_RANGE": {
|
|
934
|
-
"valueType": "double",
|
|
935
|
-
"dataManagerType": "StandardStMan",
|
|
936
|
-
"dataManagerGroup": "StandardStMan",
|
|
937
|
-
"option": 5,
|
|
938
|
-
"maxlen": 0,
|
|
939
|
-
"comment": "Start and end of observation",
|
|
940
|
-
"ndim": 1,
|
|
941
|
-
"shape": np.array([2]),
|
|
942
|
-
"_c_order": True,
|
|
943
|
-
"keywords": {
|
|
944
|
-
"QuantumUnits": ["s"],
|
|
945
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
946
|
-
},
|
|
947
|
-
},
|
|
948
|
-
"LOG": {
|
|
949
|
-
"valueType": "string",
|
|
950
|
-
"dataManagerType": "StandardStMan",
|
|
951
|
-
"dataManagerGroup": "StandardStMan",
|
|
952
|
-
"option": 0,
|
|
953
|
-
"maxlen": 0,
|
|
954
|
-
"comment": "Observing log",
|
|
955
|
-
"ndim": 1,
|
|
956
|
-
"_c_order": True,
|
|
957
|
-
"keywords": {},
|
|
958
|
-
},
|
|
959
|
-
"SCHEDULE": {
|
|
960
|
-
"valueType": "string",
|
|
961
|
-
"dataManagerType": "StandardStMan",
|
|
962
|
-
"dataManagerGroup": "StandardStMan",
|
|
963
|
-
"option": 0,
|
|
964
|
-
"maxlen": 0,
|
|
965
|
-
"comment": "Observing schedule",
|
|
966
|
-
"ndim": 1,
|
|
967
|
-
"_c_order": True,
|
|
968
|
-
"keywords": {},
|
|
969
|
-
},
|
|
970
|
-
"FLAG_ROW": {
|
|
971
|
-
"valueType": "boolean",
|
|
972
|
-
"dataManagerType": "StandardStMan",
|
|
973
|
-
"dataManagerGroup": "StandardStMan",
|
|
974
|
-
"option": 0,
|
|
975
|
-
"maxlen": 0,
|
|
976
|
-
"comment": "Row flag",
|
|
977
|
-
"keywords": {},
|
|
978
|
-
},
|
|
979
|
-
"OBSERVER": {
|
|
980
|
-
"valueType": "string",
|
|
981
|
-
"dataManagerType": "StandardStMan",
|
|
982
|
-
"dataManagerGroup": "StandardStMan",
|
|
983
|
-
"option": 0,
|
|
984
|
-
"maxlen": 0,
|
|
985
|
-
"comment": "Name of observer(s)",
|
|
986
|
-
"keywords": {},
|
|
987
|
-
},
|
|
988
|
-
"PROJECT": {
|
|
989
|
-
"valueType": "string",
|
|
990
|
-
"dataManagerType": "StandardStMan",
|
|
991
|
-
"dataManagerGroup": "StandardStMan",
|
|
992
|
-
"option": 0,
|
|
993
|
-
"maxlen": 0,
|
|
994
|
-
"comment": "Project identification string",
|
|
995
|
-
"keywords": {},
|
|
996
|
-
},
|
|
997
|
-
"RELEASE_DATE": {
|
|
998
|
-
"valueType": "double",
|
|
999
|
-
"dataManagerType": "StandardStMan",
|
|
1000
|
-
"dataManagerGroup": "StandardStMan",
|
|
1001
|
-
"option": 0,
|
|
1002
|
-
"maxlen": 0,
|
|
1003
|
-
"comment": "Release date when data becomes public",
|
|
1004
|
-
"keywords": {
|
|
1005
|
-
"QuantumUnits": ["s"],
|
|
1006
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
1007
|
-
},
|
|
1008
|
-
},
|
|
1009
|
-
"SCHEDULE_TYPE": {
|
|
1010
|
-
"valueType": "string",
|
|
1011
|
-
"dataManagerType": "StandardStMan",
|
|
1012
|
-
"dataManagerGroup": "StandardStMan",
|
|
1013
|
-
"option": 0,
|
|
1014
|
-
"maxlen": 0,
|
|
1015
|
-
"comment": "Observing schedule type",
|
|
1016
|
-
"keywords": {},
|
|
1017
|
-
},
|
|
1018
|
-
"TELESCOPE_NAME": {
|
|
1019
|
-
"valueType": "string",
|
|
1020
|
-
"dataManagerType": "StandardStMan",
|
|
1021
|
-
"dataManagerGroup": "StandardStMan",
|
|
1022
|
-
"option": 0,
|
|
1023
|
-
"maxlen": 0,
|
|
1024
|
-
"comment": "Telescope Name (e.g. WSRT, VLBA)",
|
|
1025
|
-
"keywords": {},
|
|
1026
|
-
},
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
pointing_column_description = {
|
|
1031
|
-
"DIRECTION": {
|
|
1032
|
-
"valueType": "double",
|
|
1033
|
-
"dataManagerType": "IncrementalStMan",
|
|
1034
|
-
"dataManagerGroup": "ISMPointing",
|
|
1035
|
-
"option": 0,
|
|
1036
|
-
"maxlen": 0,
|
|
1037
|
-
"comment": "Antenna pointing direction as polynomial in time",
|
|
1038
|
-
"ndim": 2,
|
|
1039
|
-
"_c_order": True,
|
|
1040
|
-
"keywords": {
|
|
1041
|
-
"QuantumUnits": ["rad", "rad"],
|
|
1042
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
1043
|
-
},
|
|
1044
|
-
},
|
|
1045
|
-
"ANTENNA_ID": {
|
|
1046
|
-
"valueType": "int",
|
|
1047
|
-
"dataManagerType": "StandardStMan",
|
|
1048
|
-
"dataManagerGroup": "SSMPointing",
|
|
1049
|
-
"option": 0,
|
|
1050
|
-
"maxlen": 0,
|
|
1051
|
-
"comment": "Antenna Id",
|
|
1052
|
-
"keywords": {},
|
|
1053
|
-
},
|
|
1054
|
-
"INTERVAL": {
|
|
1055
|
-
"valueType": "double",
|
|
1056
|
-
"dataManagerType": "IncrementalStMan",
|
|
1057
|
-
"dataManagerGroup": "ISMPointing",
|
|
1058
|
-
"option": 0,
|
|
1059
|
-
"maxlen": 0,
|
|
1060
|
-
"comment": "Time interval",
|
|
1061
|
-
"keywords": {"QuantumUnits": ["s"]},
|
|
1062
|
-
},
|
|
1063
|
-
"NAME": {
|
|
1064
|
-
"valueType": "string",
|
|
1065
|
-
"dataManagerType": "IncrementalStMan",
|
|
1066
|
-
"dataManagerGroup": "ISMPointing",
|
|
1067
|
-
"option": 0,
|
|
1068
|
-
"maxlen": 0,
|
|
1069
|
-
"comment": "Pointing position name",
|
|
1070
|
-
"keywords": {},
|
|
1071
|
-
},
|
|
1072
|
-
"NUM_POLY": {
|
|
1073
|
-
"valueType": "int",
|
|
1074
|
-
"dataManagerType": "IncrementalStMan",
|
|
1075
|
-
"dataManagerGroup": "ISMPointing",
|
|
1076
|
-
"option": 0,
|
|
1077
|
-
"maxlen": 0,
|
|
1078
|
-
"comment": "Series order",
|
|
1079
|
-
"keywords": {},
|
|
1080
|
-
},
|
|
1081
|
-
"TARGET": {
|
|
1082
|
-
"valueType": "double",
|
|
1083
|
-
"dataManagerType": "IncrementalStMan",
|
|
1084
|
-
"dataManagerGroup": "ISMPointing",
|
|
1085
|
-
"option": 0,
|
|
1086
|
-
"maxlen": 0,
|
|
1087
|
-
"comment": "target direction as polynomial in time",
|
|
1088
|
-
"ndim": -1,
|
|
1089
|
-
"_c_order": True,
|
|
1090
|
-
"keywords": {
|
|
1091
|
-
"QuantumUnits": ["rad", "rad"],
|
|
1092
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
1093
|
-
},
|
|
1094
|
-
},
|
|
1095
|
-
"TIME": {
|
|
1096
|
-
"valueType": "double",
|
|
1097
|
-
"dataManagerType": "IncrementalStMan",
|
|
1098
|
-
"dataManagerGroup": "ISMPointing",
|
|
1099
|
-
"option": 0,
|
|
1100
|
-
"maxlen": 0,
|
|
1101
|
-
"comment": "Time interval midpoint",
|
|
1102
|
-
"keywords": {
|
|
1103
|
-
"QuantumUnits": ["s"],
|
|
1104
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
1105
|
-
},
|
|
1106
|
-
},
|
|
1107
|
-
"TIME_ORIGIN": {
|
|
1108
|
-
"valueType": "double",
|
|
1109
|
-
"dataManagerType": "IncrementalStMan",
|
|
1110
|
-
"dataManagerGroup": "ISMPointing",
|
|
1111
|
-
"option": 0,
|
|
1112
|
-
"maxlen": 0,
|
|
1113
|
-
"comment": "Time origin for direction",
|
|
1114
|
-
"keywords": {
|
|
1115
|
-
"QuantumUnits": ["s"],
|
|
1116
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
1117
|
-
},
|
|
1118
|
-
},
|
|
1119
|
-
"TRACKING": {
|
|
1120
|
-
"valueType": "boolean",
|
|
1121
|
-
"dataManagerType": "IncrementalStMan",
|
|
1122
|
-
"dataManagerGroup": "ISMPointing",
|
|
1123
|
-
"option": 0,
|
|
1124
|
-
"maxlen": 0,
|
|
1125
|
-
"comment": "Tracking flag - True if on position",
|
|
1126
|
-
"keywords": {},
|
|
1127
|
-
},
|
|
1128
|
-
}
|
|
1129
|
-
|
|
1130
|
-
source_column_description = {
|
|
1131
|
-
"CALIBRATION_GROUP": {
|
|
1132
|
-
"valueType": "int",
|
|
1133
|
-
"dataManagerType": "StandardStMan",
|
|
1134
|
-
"dataManagerGroup": "StandardStMan",
|
|
1135
|
-
"option": 0,
|
|
1136
|
-
"maxlen": 0,
|
|
1137
|
-
"comment": "Number of grouping for calibration purpose.",
|
|
1138
|
-
"keywords": {},
|
|
1139
|
-
},
|
|
1140
|
-
"CODE": {
|
|
1141
|
-
"valueType": "string",
|
|
1142
|
-
"dataManagerType": "StandardStMan",
|
|
1143
|
-
"dataManagerGroup": "StandardStMan",
|
|
1144
|
-
"option": 0,
|
|
1145
|
-
"maxlen": 0,
|
|
1146
|
-
"comment": "Special characteristics of source, e.g. Bandpass calibrator",
|
|
1147
|
-
"keywords": {},
|
|
1148
|
-
},
|
|
1149
|
-
"DIRECTION": {
|
|
1150
|
-
"valueType": "double",
|
|
1151
|
-
"dataManagerType": "StandardStMan",
|
|
1152
|
-
"dataManagerGroup": "StandardStMan",
|
|
1153
|
-
"option": 0,
|
|
1154
|
-
"maxlen": 0,
|
|
1155
|
-
"comment": "Direction (e.g. RA, DEC).",
|
|
1156
|
-
"ndim": -1,
|
|
1157
|
-
"_c_order": True,
|
|
1158
|
-
"keywords": {
|
|
1159
|
-
"QuantumUnits": ["rad", "rad"],
|
|
1160
|
-
"MEASINFO": {"type": "direction", "Ref": "J2000"},
|
|
1161
|
-
},
|
|
1162
|
-
},
|
|
1163
|
-
"INTERVAL": {
|
|
1164
|
-
"valueType": "double",
|
|
1165
|
-
"dataManagerType": "StandardStMan",
|
|
1166
|
-
"dataManagerGroup": "StandardStMan",
|
|
1167
|
-
"option": 0,
|
|
1168
|
-
"maxlen": 0,
|
|
1169
|
-
"comment": "Interval of time for which this set of parameters is accurate",
|
|
1170
|
-
"keywords": {"QuantumUnits": ["s"]},
|
|
1171
|
-
},
|
|
1172
|
-
"NAME": {
|
|
1173
|
-
"valueType": "string",
|
|
1174
|
-
"dataManagerType": "StandardStMan",
|
|
1175
|
-
"dataManagerGroup": "StandardStMan",
|
|
1176
|
-
"option": 0,
|
|
1177
|
-
"maxlen": 0,
|
|
1178
|
-
"comment": "Name of source as given during observations",
|
|
1179
|
-
"keywords": {},
|
|
1180
|
-
},
|
|
1181
|
-
"NUM_LINES": {
|
|
1182
|
-
"valueType": "int",
|
|
1183
|
-
"dataManagerType": "StandardStMan",
|
|
1184
|
-
"dataManagerGroup": "StandardStMan",
|
|
1185
|
-
"option": 0,
|
|
1186
|
-
"maxlen": 0,
|
|
1187
|
-
"comment": "Number of spectral lines",
|
|
1188
|
-
"keywords": {},
|
|
1189
|
-
},
|
|
1190
|
-
"PROPER_MOTION": {
|
|
1191
|
-
"valueType": "double",
|
|
1192
|
-
"dataManagerType": "StandardStMan",
|
|
1193
|
-
"dataManagerGroup": "StandardStMan",
|
|
1194
|
-
"option": 0,
|
|
1195
|
-
"maxlen": 0,
|
|
1196
|
-
"comment": "Proper motion",
|
|
1197
|
-
"ndim": -1,
|
|
1198
|
-
"_c_order": True,
|
|
1199
|
-
"keywords": {"QuantumUnits": ["rad/s"]},
|
|
1200
|
-
},
|
|
1201
|
-
"SOURCE_ID": {
|
|
1202
|
-
"valueType": "int",
|
|
1203
|
-
"dataManagerType": "StandardStMan",
|
|
1204
|
-
"dataManagerGroup": "StandardStMan",
|
|
1205
|
-
"option": 0,
|
|
1206
|
-
"maxlen": 0,
|
|
1207
|
-
"comment": "Source id",
|
|
1208
|
-
"keywords": {},
|
|
1209
|
-
},
|
|
1210
|
-
"SPECTRAL_WINDOW_ID": {
|
|
1211
|
-
"valueType": "int",
|
|
1212
|
-
"dataManagerType": "StandardStMan",
|
|
1213
|
-
"dataManagerGroup": "StandardStMan",
|
|
1214
|
-
"option": 0,
|
|
1215
|
-
"maxlen": 0,
|
|
1216
|
-
"comment": "ID for this spectral window setup",
|
|
1217
|
-
"keywords": {},
|
|
1218
|
-
},
|
|
1219
|
-
"TIME": {
|
|
1220
|
-
"valueType": "double",
|
|
1221
|
-
"dataManagerType": "StandardStMan",
|
|
1222
|
-
"dataManagerGroup": "StandardStMan",
|
|
1223
|
-
"option": 0,
|
|
1224
|
-
"maxlen": 0,
|
|
1225
|
-
"comment": "Midpoint of time for which this set of parameters is accurate.",
|
|
1226
|
-
"keywords": {
|
|
1227
|
-
"QuantumUnits": ["s"],
|
|
1228
|
-
"MEASINFO": {"type": "epoch", "Ref": "UTC"},
|
|
1229
|
-
},
|
|
1230
|
-
},
|
|
1231
|
-
"POSITION": {
|
|
1232
|
-
"valueType": "double",
|
|
1233
|
-
"dataManagerType": "StandardStMan",
|
|
1234
|
-
"dataManagerGroup": "StandardStMan",
|
|
1235
|
-
"option": 0,
|
|
1236
|
-
"maxlen": 0,
|
|
1237
|
-
"comment": "Position (e.g. for solar system objects",
|
|
1238
|
-
"ndim": -1,
|
|
1239
|
-
"_c_order": True,
|
|
1240
|
-
"keywords": {
|
|
1241
|
-
"QuantumUnits": ["m", "m", "m"],
|
|
1242
|
-
"MEASINFO": {"type": "position", "Ref": "ITRF"},
|
|
1243
|
-
},
|
|
1244
|
-
},
|
|
1245
|
-
"PULSAR_ID": {
|
|
1246
|
-
"valueType": "int",
|
|
1247
|
-
"dataManagerType": "StandardStMan",
|
|
1248
|
-
"dataManagerGroup": "StandardStMan",
|
|
1249
|
-
"option": 0,
|
|
1250
|
-
"maxlen": 0,
|
|
1251
|
-
"comment": "Pulsar Id, pointer to pulsar table",
|
|
1252
|
-
"keywords": {},
|
|
1253
|
-
},
|
|
1254
|
-
"REST_FREQUENCY": {
|
|
1255
|
-
"valueType": "double",
|
|
1256
|
-
"dataManagerType": "StandardStMan",
|
|
1257
|
-
"dataManagerGroup": "StandardStMan",
|
|
1258
|
-
"option": 0,
|
|
1259
|
-
"maxlen": 0,
|
|
1260
|
-
"comment": "Line rest frequency",
|
|
1261
|
-
"ndim": -1,
|
|
1262
|
-
"_c_order": True,
|
|
1263
|
-
"keywords": {
|
|
1264
|
-
"QuantumUnits": ["Hz"],
|
|
1265
|
-
"MEASINFO": {"type": "frequency", "Ref": "LSRK"},
|
|
1266
|
-
},
|
|
1267
|
-
},
|
|
1268
|
-
"SYSVEL": {
|
|
1269
|
-
"valueType": "double",
|
|
1270
|
-
"dataManagerType": "StandardStMan",
|
|
1271
|
-
"dataManagerGroup": "StandardStMan",
|
|
1272
|
-
"option": 0,
|
|
1273
|
-
"maxlen": 0,
|
|
1274
|
-
"comment": "Systemic velocity at reference",
|
|
1275
|
-
"ndim": -1,
|
|
1276
|
-
"_c_order": True,
|
|
1277
|
-
"keywords": {
|
|
1278
|
-
"QuantumUnits": ["m/s"],
|
|
1279
|
-
"MEASINFO": {"type": "radialvelocity", "Ref": "LSRK"},
|
|
1280
|
-
},
|
|
1281
|
-
},
|
|
1282
|
-
"TRANSITION": {
|
|
1283
|
-
"valueType": "string",
|
|
1284
|
-
"dataManagerType": "StandardStMan",
|
|
1285
|
-
"dataManagerGroup": "StandardStMan",
|
|
1286
|
-
"option": 0,
|
|
1287
|
-
"maxlen": 0,
|
|
1288
|
-
"comment": "Line Transition name",
|
|
1289
|
-
"ndim": -1,
|
|
1290
|
-
"_c_order": True,
|
|
1291
|
-
"keywords": {},
|
|
1292
|
-
},
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
state_column_description = {
|
|
1297
|
-
"CAL": {
|
|
1298
|
-
"valueType": "double",
|
|
1299
|
-
"dataManagerType": "StandardStMan",
|
|
1300
|
-
"dataManagerGroup": "StandardStMan",
|
|
1301
|
-
"option": 0,
|
|
1302
|
-
"maxlen": 0,
|
|
1303
|
-
"comment": "Noise calibration temperature",
|
|
1304
|
-
"keywords": {"QuantumUnits": ["K"]},
|
|
1305
|
-
},
|
|
1306
|
-
"FLAG_ROW": {
|
|
1307
|
-
"valueType": "boolean",
|
|
1308
|
-
"dataManagerType": "StandardStMan",
|
|
1309
|
-
"dataManagerGroup": "StandardStMan",
|
|
1310
|
-
"option": 0,
|
|
1311
|
-
"maxlen": 0,
|
|
1312
|
-
"comment": "Row flag",
|
|
1313
|
-
"keywords": {},
|
|
1314
|
-
},
|
|
1315
|
-
"LOAD": {
|
|
1316
|
-
"valueType": "double",
|
|
1317
|
-
"dataManagerType": "StandardStMan",
|
|
1318
|
-
"dataManagerGroup": "StandardStMan",
|
|
1319
|
-
"option": 0,
|
|
1320
|
-
"maxlen": 0,
|
|
1321
|
-
"comment": "Load temperature",
|
|
1322
|
-
"keywords": {"QuantumUnits": ["K"]},
|
|
1323
|
-
},
|
|
1324
|
-
"OBS_MODE": {
|
|
1325
|
-
"valueType": "string",
|
|
1326
|
-
"dataManagerType": "StandardStMan",
|
|
1327
|
-
"dataManagerGroup": "StandardStMan",
|
|
1328
|
-
"option": 0,
|
|
1329
|
-
"maxlen": 0,
|
|
1330
|
-
"comment": "Observing mode, e.g., OFF_SPECTRUM",
|
|
1331
|
-
"keywords": {},
|
|
1332
|
-
},
|
|
1333
|
-
"REF": {
|
|
1334
|
-
"valueType": "boolean",
|
|
1335
|
-
"dataManagerType": "StandardStMan",
|
|
1336
|
-
"dataManagerGroup": "StandardStMan",
|
|
1337
|
-
"option": 0,
|
|
1338
|
-
"maxlen": 0,
|
|
1339
|
-
"comment": "True for a reference observation",
|
|
1340
|
-
"keywords": {},
|
|
1341
|
-
},
|
|
1342
|
-
"SIG": {
|
|
1343
|
-
"valueType": "boolean",
|
|
1344
|
-
"dataManagerType": "StandardStMan",
|
|
1345
|
-
"dataManagerGroup": "StandardStMan",
|
|
1346
|
-
"option": 0,
|
|
1347
|
-
"maxlen": 0,
|
|
1348
|
-
"comment": "True for a source observation",
|
|
1349
|
-
"keywords": {},
|
|
1350
|
-
},
|
|
1351
|
-
"SUB_SCAN": {
|
|
1352
|
-
"valueType": "int",
|
|
1353
|
-
"dataManagerType": "StandardStMan",
|
|
1354
|
-
"dataManagerGroup": "StandardStMan",
|
|
1355
|
-
"option": 0,
|
|
1356
|
-
"maxlen": 0,
|
|
1357
|
-
"comment": "Sub scan number, relative to scan number",
|
|
1358
|
-
"keywords": {},
|
|
1359
|
-
},
|
|
1360
|
-
}
|