HOPS
HOPS class reference
adump.h
Go to the documentation of this file.
1 #ifndef ADUMP_H
2 #define ADUMP_H
3 
4  /* BASELINE DATA */
5  /* Quantities directly in A-file */
6 #define VERSION 1
7 #define ROOTCODE 2
8 #define TYPE 3
9 #define EXTENT 4
10 #define DURATION 5
11 #define LENGTH 6
12 #define OFFSET 7
13 #define EXPT_NO 8
14 #define PROCDATE 9
15 #define SCANYEAR 10
16 #define TIMETAG 11
17 #define SOURCE 12
18 #define BASELINE 13
19 #define QUALITY 14
20 #define FREQ_CODE 15
21 #define MODE 16
22 #define NFREQ 17
23 #define AMP 18
24 #define SNR 19
25 #define PHASE 20
26 #define DATATYPE 21
27 #define SBDELAY 22
28 #define MBDELAY 23
29 #define AMBIGUITY 24
30 #define DRATE 25
31 #define REF_ELEVATION 26
32 #define REM_ELEVATION 27
33 #define REF_AZIMUTH 28
34 #define REM_AZIMUTH 29
35 #define U 30
36 #define V 31
37 #define ESDESP 32
38 #define EPOCH 33
39 #define REF_FREQ 34
40 #define TOT_PHASE 35
41 #define TOT_DRATE 36
42 #define TOT_MBDELAY 37
43 #define TOT_MBDSBD 38
44 #define SCOTIME 39
45 #define NCOTIME 40
46 #define PARENTS 41
47 #define POL 42
48  /* Quantities needing a bit of */
49  /* derivation */
50 #define PROCDAY 50
51 #define SCANDAY 51
52 #define EPOCHDAY 52
53 
54  /* TRIANGLE DATA */
55  /* Quantities directly in A-file */
56 #define T_VERSION 101
57 #define T_EXPT_NO 102
58 #define T_TYPE 103
59 #define T_SCANYEAR 104
60 #define T_TIMETAG 105
61 #define T_SOURCE 106
62 #define T_FREQ_CODE 107
63 #define T_MODE 108
64 #define T_TRIANGLE 109
65 #define T_ROOT 110
66 #define T_EXTENT 111
67 #define T_LENGTH 112
68 #define T_DURATION 113
69 #define T_OFFSET 114
70 #define T_SQUALITY 115
71 #define T_DQUALITY 116
72 #define T_ESDESP 117
73 #define T_BISAMP 118
74 #define T_BISSNR 119
75 #define T_BISPHASE 120
76 #define T_DATATYPE 121
77 #define T_CSBDELAY 122
78 #define T_CMBDELAY 123
79 #define T_AMBIGUITY 124
80 #define T_CDRATE 125
81 #define T_ELEVATION 126
82 #define T_AZIMUTH 127
83 #define T_EPOCH 128
84 #define T_REF_FREQ 129
85  /* Quantities needing a bit of */
86  /* derivation */
87 #define T_SCANDAY 150
88 #define T_EPOCHDAY 151
89 
90 #define MAXFIELDS 50
91 #define TRUE 1
92 #define FALSE 0
93 
94 struct flist
95  {
96  char name[20];
97  int id;
98  char format[10];
99  };
100 
101 extern int parse_bfields (int, char **, struct flist []);
102 extern int parse_cmdline (int, char **, FILE **, FILE **, int *, int *,
103  struct flist []);
104 extern int parse_tfields (int, char **, struct flist []);
105 extern int strip_bline (char *, struct flist [], char *);
106 extern int strip_tline (char *, struct flist [], char *);
107 extern int write_header (FILE *, struct flist []);
108 
109 #endif
int parse_cmdline(int, char **, FILE **, FILE **, int *, int *, struct flist[])
Definition: applications/adump/src/parse_cmdline.c:29
int id
Definition: adump.h:97
char format[10]
Definition: adump.h:98
int strip_tline(char *, struct flist[], char *)
Definition: strip_tline.c:23
char name[20]
Definition: adump.h:96
int write_header(FILE *, struct flist[])
Definition: write_header.c:23
int strip_bline(char *, struct flist[], char *)
Definition: strip_bline.c:23
int parse_bfields(int, char **, struct flist[])
Definition: parse_bfields.c:68
int parse_tfields(int, char **, struct flist[])
Definition: parse_tfields.c:54
Definition: adump.h:95