Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
header.h
Go to the documentation of this file.
1 /*
2  * Cactus file %W%
3  * Date %G%
4  *
5  */
6 
7 #ifndef HEADER_H
8 
9 /* sdd.h -- Defined HEADER structures for POPS I/O */
10 
11 #define getheads(a) swaps(a)
12 
13 struct HEADER {
14  short headcls;
15  short oneptr;
16  short twoptr;
17  short thrptr;
18  short fourptr;
19  short fiveptr;
20  short sixptr;
21  short sevptr;
22  short eigptr;
23  short nineptr;
24  short tenptr;
25  short elvptr;
26  short twlptr;
27  short trnptr;
28  short align1; /* makes class 1 align */
29  short align2; /* makes class 1 align */
30 
31 /* Class 1 */
32 
33  double headlen;
34  double datalen;
35  double scan;
36  char obsid[8];
37  char observer[16];
38  char telescop[8];
39  char projid[8];
40  char object[16];
41  char obsmode[8];
42  char frontend[8];
43  char backend[8];
44  char precis[8];
45 
46 /* Class 2 */
47 
48  double xpoint;
49  double ypoint;
50  double uxpnt;
51  double uypnt;
52  double ptcon[4];
53  double orient;
54  double focusr;
55  double focusv;
56  double focush;
57  char pt_model[8];
58 
59 /* Class 3 */
60 
61  double utdate;
62  double ut;
63  double lst;
64  double norchan;
65  double noswvar;
66  double nophase;
67  double cycllen;
68  double samprat;
69  char cl11type[8];
70 
71 /* Class 4 */
72 
73  double epoch;
74  double xsource;
75  double ysource;
76  double xref;
77  double yref;
78  double epocra;
79  double epocdec;
80  double gallong;
81  double gallat;
82  double az;
83  double el;
84  double indx;
85  double indy;
86  double desorg[3];
87  char coordcd[8];
88 
89 /* Class 5 */
90 
91  double tamb;
92  double pressure;
93  double humidity;
94  double refrac;
95  double dewpt;
96  double mmh2o;
97 
98 /* Class 6 */
99 
100  double scanang;
101  double xzero;
102  double yzero;
103  double deltaxr;
104  double deltayr;
105  double nopts;
106  double noxpts;
107  double noypts;
108  double xcell0;
109  double ycell0;
110  char frame[8];
111 
112 /* Class 7 */
113 
114  double bfwhm;
115  double offscan;
116  double badchv;
117  double rvsys;
118  double velocity;
119  char veldef[8];
120  char typecal[8];
121 
122 /* Class 8 */
123 
124  double appeff;
125  double beameff;
126  double antgain;
127  double etal;
128  double etafss;
129 
130 /* Class 9 - Mt. Graham */
131 
132  double synfreq;
133  double lofact;
134  double harmonic;
135  double loif;
136  double firstif;
137  double razoff;
138  double reloff;
139  double bmthrow;
140  double bmorent;
141  double baseoff;
142  double obstol;
143  double sideband;
144  double wl;
145  double gains;
146  double pbeam[2];
147  double mbeam[2];
148  double sroff[4];
149  double foffsig;
150  double foffref1;
151  double foffref2;
152 
153  /* Class 10 */
154 
155  double openpar[10];
156 
157  /* Class 11 */
158 
159 /* removed 288 bytes of unused variables, or 36 doubles */
160 
161  double current_disk;
162  double bologain;
163  double sptip_start;
164  double sptip_stop;
165  double ramp_up;
166  double tatms;
167  double taus;
168  double taui;
169  double tatmi;
170  double tchop;
171  double tcold;
172  double gaini;
173  double count[3];
174  char linename[16];
175  double refpt_vel;
176  double tip_humid;
177  double tip_ref_flag;
178  double refract_45;
179  double ref_correct;
180  double beam_num; /* which beam of array rcvr this is */
181  double burn_time; /* the time at which the scan was acutally recorded */
182  double parallactic; /* angle between north and up */
183  double az_offset; /* az offset during spec five point */
184  double el_offset; /* el offset during spec five point */
185  double yfactor; /* receiver yfactor */
186  double rejection; /* receiver rejection */
187  double nutator_temp; /* Temp inside nutator; used for fine pointing corr */
188  double nutate_rate; /* nutate freq */
189 
190 /* if you add a variable above remove the appropriate number of doubles below */
191 
192  double spares05[5];
193 
194 
195  /* Class 12 */
196 
197  double obsfreq;
198  double restfreq;
199  double freqres;
200  double bw;
201  double trx;
202  double tcal;
203  double stsys;
204  double rtsys;
205  double tsource;
206  double trms;
207  double refpt;
208  double x0;
209  double deltax;
210  double inttime;
211  double noint;
212  double spn;
213  double tauh2o;
214  double th2o;
215  double tauo2;
216  double to2;
217  char polariz[8];
218  double effint;
219  char rx_info[16];
220 
221 /* Class 13 */
222 
223  double nostac;
224  double fscan;
225  double lscan;
226  double lamp;
227  double lwid;
228  double ili;
229  double rms;
230  double align3[4];
231 };
232 
233 #define HEADER_H
234 
235 #endif
double bw
Definition: header.h:200
double dewpt
Definition: header.h:95
double focush
Definition: header.h:56
double tcold
Definition: header.h:171
char frame[8]
Definition: header.h:110
double xcell0
Definition: header.h:108
double az
Definition: header.h:82
double scan
Definition: header.h:35
double nopts
Definition: header.h:105
double razoff
Definition: header.h:137
double pbeam[2]
Definition: header.h:146
double reloff
Definition: header.h:138
double badchv
Definition: header.h:116
double tip_ref_flag
Definition: header.h:177
double ypoint
Definition: header.h:49
char typecal[8]
Definition: header.h:120
double obstol
Definition: header.h:142
double noint
Definition: header.h:211
double datalen
Definition: header.h:34
char obsid[8]
Definition: header.h:36
double utdate
Definition: header.h:61
double scanang
Definition: header.h:100
double loif
Definition: header.h:135
double bmorent
Definition: header.h:140
double th2o
Definition: header.h:214
double parallactic
Definition: header.h:182
short elvptr
Definition: header.h:25
double rvsys
Definition: header.h:117
double noxpts
Definition: header.h:106
double rtsys
Definition: header.h:204
double samprat
Definition: header.h:68
double bmthrow
Definition: header.h:139
double mmh2o
Definition: header.h:96
double nophase
Definition: header.h:66
short trnptr
Definition: header.h:27
double bfwhm
Definition: header.h:114
char rx_info[16]
Definition: header.h:219
double offscan
Definition: header.h:115
double bologain
Definition: header.h:162
double el_offset
Definition: header.h:184
Definition: header.h:13
double xsource
Definition: header.h:74
double ysource
Definition: header.h:75
char coordcd[8]
Definition: header.h:87
double rejection
Definition: header.h:186
double ptcon[4]
Definition: header.h:52
double nostac
Definition: header.h:223
double tcal
Definition: header.h:202
double to2
Definition: header.h:216
double harmonic
Definition: header.h:134
double indy
Definition: header.h:85
double xref
Definition: header.h:76
char telescop[8]
Definition: header.h:38
double xzero
Definition: header.h:101
double openpar[10]
Definition: header.h:155
double gaini
Definition: header.h:172
double align3[4]
Definition: header.h:230
double tatmi
Definition: header.h:169
double sideband
Definition: header.h:143
double lofact
Definition: header.h:133
double sptip_stop
Definition: header.h:164
double synfreq
Definition: header.h:132
double gains
Definition: header.h:145
double foffref1
Definition: header.h:150
short nineptr
Definition: header.h:23
double uypnt
Definition: header.h:51
double foffsig
Definition: header.h:149
double spn
Definition: header.h:212
double lwid
Definition: header.h:227
char pt_model[8]
Definition: header.h:57
double pressure
Definition: header.h:92
char linename[16]
Definition: header.h:174
double etafss
Definition: header.h:128
double tatms
Definition: header.h:166
double current_disk
Definition: header.h:161
double tauo2
Definition: header.h:215
double humidity
Definition: header.h:93
double lst
Definition: header.h:63
double rms
Definition: header.h:229
double beam_num
Definition: header.h:180
double refpt_vel
Definition: header.h:175
char polariz[8]
Definition: header.h:217
double norchan
Definition: header.h:64
double epoch
Definition: header.h:73
double indx
Definition: header.h:84
double az_offset
Definition: header.h:183
double trms
Definition: header.h:206
short twlptr
Definition: header.h:26
double baseoff
Definition: header.h:141
char obsmode[8]
Definition: header.h:41
double ili
Definition: header.h:228
double mbeam[2]
Definition: header.h:147
double obsfreq
Definition: header.h:197
double etal
Definition: header.h:127
char backend[8]
Definition: header.h:43
double ref_correct
Definition: header.h:179
short align1
Definition: header.h:28
double beameff
Definition: header.h:125
double nutate_rate
Definition: header.h:188
short sixptr
Definition: header.h:20
double firstif
Definition: header.h:136
double velocity
Definition: header.h:118
double headlen
Definition: header.h:33
double xpoint
Definition: header.h:48
double taui
Definition: header.h:168
double yref
Definition: header.h:77
double orient
Definition: header.h:53
double count[3]
Definition: header.h:173
double x0
Definition: header.h:208
short oneptr
Definition: header.h:15
double taus
Definition: header.h:167
double stsys
Definition: header.h:203
double refract_45
Definition: header.h:178
short align2
Definition: header.h:29
double tip_humid
Definition: header.h:176
double sptip_start
Definition: header.h:163
double epocra
Definition: header.h:78
char frontend[8]
Definition: header.h:42
double antgain
Definition: header.h:126
double focusr
Definition: header.h:54
double nutator_temp
Definition: header.h:187
double refpt
Definition: header.h:207
double gallat
Definition: header.h:81
short sevptr
Definition: header.h:21
double el
Definition: header.h:83
char projid[8]
Definition: header.h:39
double wl
Definition: header.h:144
double ramp_up
Definition: header.h:165
double deltax
Definition: header.h:209
double desorg[3]
Definition: header.h:86
short eigptr
Definition: header.h:22
double foffref2
Definition: header.h:151
double uxpnt
Definition: header.h:50
short fiveptr
Definition: header.h:19
short twoptr
Definition: header.h:16
double tsource
Definition: header.h:205
char precis[8]
Definition: header.h:44
short thrptr
Definition: header.h:17
double tchop
Definition: header.h:170
double gallong
Definition: header.h:80
char observer[16]
Definition: header.h:37
double refrac
Definition: header.h:94
short tenptr
Definition: header.h:24
double burn_time
Definition: header.h:181
double inttime
Definition: header.h:210
char veldef[8]
Definition: header.h:119
short headcls
Definition: header.h:14
double tamb
Definition: header.h:91
double ycell0
Definition: header.h:109
double fscan
Definition: header.h:224
double deltaxr
Definition: header.h:103
double deltayr
Definition: header.h:104
double cycllen
Definition: header.h:67
double appeff
Definition: header.h:124
double yfactor
Definition: header.h:185
double spares05[5]
Definition: header.h:192
double lamp
Definition: header.h:226
double focusv
Definition: header.h:55
double effint
Definition: header.h:218
double restfreq
Definition: header.h:198
double noypts
Definition: header.h:107
double freqres
Definition: header.h:199
double tauh2o
Definition: header.h:213
char cl11type[8]
Definition: header.h:69
double lscan
Definition: header.h:225
double trx
Definition: header.h:201
double ut
Definition: header.h:62
double epocdec
Definition: header.h:79
short fourptr
Definition: header.h:18
double sroff[4]
Definition: header.h:148
double yzero
Definition: header.h:102
double noswvar
Definition: header.h:65