HOPS
HOPS class reference
aedit.h
Go to the documentation of this file.
1 #define TRUE 1
2 #define FALSE 0
3 
4 #include "sizelimits.h"
5 
6 struct com {
7  char cmnd[50];
8  char arg1[256];
9  char arg2[256];
10  char remarg[512];
11  short narg;
12 };
13 
14 struct inputs {
15  int begin; /* Seconds since 0000 Jan 1 1980 */
16  int end;
18  int proc_end;
19  char stations[2*MAXSTEXP]; /*2 chars per station (1 char + space) */
20  char baselines[3*MAXBASE]; /*3 chars per baseline */
21 
22  /*4 chars per triangle, for 40 stations (MAXSTEXP) this is around 50kb */
23  /*on the stack which is probably unecessarily large */
24  /*however, this shouldn't be a problem for most modern computers */
25  char triangles[4*MAXCLOSE];
26  char quads[1024]; /*quads are not yet implemented*/
27  char frequencies[2*MAXFREQ];/*2 chars per frequency (1 char + space) */
28  char polarizations[128];
30  char qcodes[20];
31  char type[10];
32  float snr[2]; /* Baseline snr min/max */
33  float bsnr[2]; /* Triangle (bispectrum) snr min/max */
34  int length;
35  int fraction; /* 10ths of data passed by FRNGE */
36  int nfreq[2]; /* Range of # freqs processed by FRNGE */
37  float parameter[3]; /* User param id tag, min, max */
38  char sources[200];
39  char x_axis[20];
40  char x_units[20];
41  int xaind;
42  int x_aux;
43  char y_axis[20];
44  char y_units[20];
45  int yaind;
46  int y_aux;
47  int plotby;
48  int refrem;
49  float xscale[2];
50  float yscale[2];
51  int grid[2];
52  int mode;
53  char device[30];
54  int dev_auto;
55 };
56 
57 struct ibaselist { int index; char baseline[3]; };
58 struct ptrilist { int present; char triangle[4]; };
59 
60 #include "aedit_proto.h"
61 #include "mk4_util.h"
62 #include "msg.h"
int index
Definition: aedit.h:57
float snr[2]
Definition: aedit.h:32
char x_units[20]
Definition: aedit.h:40
int nfreq[2]
Definition: aedit.h:36
int end
Definition: aedit.h:16
char triangles[4 *MAXCLOSE]
Definition: aedit.h:25
char baselines[3 *MAXBASE]
Definition: aedit.h:20
char polarizations[128]
Definition: aedit.h:28
short narg
Definition: aedit.h:11
int refrem
Definition: aedit.h:48
int grid[2]
Definition: aedit.h:51
int present
Definition: aedit.h:58
char triangle[4]
Definition: aedit.h:58
int x_aux
Definition: aedit.h:42
char frequencies[2 *MAXFREQ]
Definition: aedit.h:27
char quads[1024]
Definition: aedit.h:26
char baseline[3]
Definition: aedit.h:57
int proc_end
Definition: aedit.h:18
int length
Definition: aedit.h:34
float bsnr[2]
Definition: aedit.h:33
char arg1[256]
Definition: aedit.h:8
float parameter[3]
Definition: aedit.h:37
char type[10]
Definition: aedit.h:31
char y_axis[20]
Definition: aedit.h:43
char sources[200]
Definition: aedit.h:38
int xaind
Definition: aedit.h:41
int y_aux
Definition: aedit.h:46
char remarg[512]
Definition: aedit.h:10
int experiment
Definition: aedit.h:29
char x_axis[20]
Definition: aedit.h:39
char arg2[256]
Definition: aedit.h:9
int fraction
Definition: aedit.h:35
int plotby
Definition: aedit.h:47
float xscale[2]
Definition: aedit.h:49
int proc_begin
Definition: aedit.h:17
char cmnd[50]
Definition: aedit.h:7
float yscale[2]
Definition: aedit.h:50
char y_units[20]
Definition: aedit.h:44
char qcodes[20]
Definition: aedit.h:30
int mode
Definition: aedit.h:52
char device[30]
Definition: aedit.h:53
int begin
Definition: aedit.h:15
int dev_auto
Definition: aedit.h:54
int yaind
Definition: aedit.h:45
Definition: aedit.h:6
Definition: aedit.h:57
Definition: aedit.h:14
Definition: aedit.h:58
Definition: difx2mark4.h:102
#define MAXBASE
Definition: sizelimits.h:12
#define MAXSTEXP
Definition: sizelimits.h:4
#define MAXCLOSE
Definition: sizelimits.h:13
#define MAXFREQ
Definition: sizelimits.h:1