Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
focus.h
Go to the documentation of this file.
1 #ifndef FOCUS_H
2 #define FOCUS_H
3 
4 #define MAX_FOCUS_HISTORY 512
5 #define MAX_FOCUS_LABELS 4
6 #define FOCUS_LABEL_SIZE 256
7 
8 #define FOCUS_SORTED_SCAN 1
9 #define FOCUS_SORTED_ELEV 2
10 #define FOCUS_SORTED_TAMB 3
11 
12 #define FOCUS_SCALE_NONE 0
13 #define FOCUS_SCALE_ADD 1
14 #define FOCUS_SCALE_SUB 2
15 #define FOCUS_SCALE_MULTI 3
16 #define FOCUS_SCALE_DIVIDE 4
17 
18 #define FOCUS_AXIS_AX 0
19 #define FOCUS_AXIS_NS 1
20 #define FOCUS_AXIS_EW 2
21 
23  char source[32];
24 
25  float scan;
26  float freq;
27  float el;
28  float F0;
29 
30  float fit;
31  float peak;
32  float hp;
33  float cnterr;
34 
35  float tamb;
36  float scaling;
37 };
38 
39 
41  char magic[16];
42 
43  int nfocs;
44  int bfit; /* If True, there are baseline fitting values to plot */
45  int plotwin;
46  int lines;
47  int sort_order; /* 0 = elevation; 1 = Temperature */
48  int scale; /* 0 = none; 1 = add, 2 = sub, 3 = multi 4 = divide */
49  int axis; /* 0 = AX, 1 = NS, 2 = EW */
50  int pad;
51 
52  double xlabel;
53  double ylabel;
54 
55  char blabels[MAX_FOCUS_LABELS][256]; /* Baseline Fit Labels */
56 
57  float bplot[MAX_FOCUS_HISTORY]; /* Baseline arrays; in this case model fitting */
58 
60 };
61 
62 #endif
float cnterr
Definition: focus.h:33
float scaling
Definition: focus.h:36
double ylabel
Definition: focus.h:53
char blabels[MAX_FOCUS_LABELS][256]
Definition: focus.h:55
#define MAX_FOCUS_HISTORY
Definition: focus.h:4
#define MAX_FOCUS_LABELS
Definition: focus.h:5
double xlabel
Definition: focus.h:52
float bplot[MAX_FOCUS_HISTORY]
Definition: focus.h:57
char magic[16]
Definition: focus.h:41
char source[32]
Definition: focus.h:23
struct FOCUS_HISTORY_ELEM focuses[MAX_FOCUS_HISTORY]
Definition: focus.h:59