Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gridmap.h
Go to the documentation of this file.
1 #define MAX_MAP_W 256
2 #define MAX_MAP_H 256
3 #define NORMAL 1
4 #define ABNORMAL 2
5 #define MAX_GMAP_SCANS 16
6 
7 struct BEAM_MAP_ELEM {
8  int x; /* Indx into the map for this element */
9  int y; /* Indx into the map for this element */
10  int n; /* Number of scans integtared into this element */
11  int pad;
12 
13  float azoff; /* Az offset for this cell */
14  float eloff; /* El offset for this cell */
15  float ra; /* RA for this cell */
16  float dec; /* Dec for this cell */
17 
18  float tsys; /* Current itegrated tsys for this element */
19  float itime; /* Total itegration Time for this element */
20  float wt; /* Current itegrated weight for this element */
21  float rval; /* Current map value (K) for this element */
22  float pval; /* Current Plotting value (K) for this element */
23 
25 };
26 
27 struct BEAM_MAP {
28  char yaxis_label[80]; /* (K) or dB's */
29  char source[32]; /* First Object entered into the map */
30 
31  int map_w; /* Number of map cols */
32  int map_h; /* Number of map rows */
33 
34  int plot_xb; /* Start Number of plotted cols */
35  int plot_xe; /* End Number of plotted cols */
36  int plot_yb; /* Start Number of plotted rows */
37  int plot_ye; /* End Number of plotted rows */
38 
39  int nbase; /* Number of samples on each end for baseline removal */
40  int base_removed; /* Baseline has been removed from raw data */
41  int nscans; /* Total number of scans loaded */
42  int offsets_filled; /* If the offset table have been computed */
43 
44 
45  float map_size_x; /* Map Az size in arcsec */
46  float map_size_y; /* Map El size in arcsec */
47  float map_step_x; /* Map Az cell size in arcsec */
48  float map_step_y; /* Map El cell size in arcsec */
49 
50  float map_min; /* Current Min Value of Raw data */
51  float map_max; /* Current Max Value of Raw data */
52  float map_plot_min; /* Current Min Value of Plotted data */
53  float map_plot_max; /* Current Max Value of Plotted data */
54 
55  float gmap_results; /* Gaussian fitting results */
56  float gmap_bw1;
57  float gmap_bw2;
58  float gmap_peak1;
59  float gmap_peak2;
60 
61  float fscan; /* First Scan in Map */
62  float lscan; /* Last Scan in Map */
63 
64  double freq; /* Freq of the first scan entered into the map */
65  double beamthrow; /* beam throw of the first scan entered into the map */
66 
68 };
69 
float rval
Definition: gridmap.h:21
float map_step_y
Definition: gridmap.h:48
int plot_yb
Definition: gridmap.h:36
double beamthrow
Definition: gridmap.h:65
int plot_ye
Definition: gridmap.h:37
float map_size_y
Definition: gridmap.h:46
int plot_xb
Definition: gridmap.h:34
float tsys
Definition: gridmap.h:18
float azoff
Definition: gridmap.h:13
Definition: header.h:13
int map_h
Definition: gridmap.h:32
float ra
Definition: gridmap.h:15
float itime
Definition: gridmap.h:19
char yaxis_label[80]
Definition: gridmap.h:28
int base_removed
Definition: gridmap.h:40
#define MAX_GMAP_SCANS
Definition: gridmap.h:5
int offsets_filled
Definition: gridmap.h:42
float gmap_results
Definition: gridmap.h:55
float map_max
Definition: gridmap.h:51
#define MAX_MAP_W
Definition: gridmap.h:1
float pval
Definition: gridmap.h:22
float map_size_x
Definition: gridmap.h:45
int nscans
Definition: gridmap.h:41
float gmap_peak1
Definition: gridmap.h:58
float gmap_bw1
Definition: gridmap.h:56
#define MAX_MAP_H
Definition: gridmap.h:2
float fscan
Definition: gridmap.h:61
int nbase
Definition: gridmap.h:39
float dec
Definition: gridmap.h:16
float lscan
Definition: gridmap.h:62
struct HEADER * headers[MAX_GMAP_SCANS]
Definition: gridmap.h:24
struct BEAM_MAP_ELEM bmes[MAX_MAP_W][MAX_MAP_H]
Definition: gridmap.h:67
float eloff
Definition: gridmap.h:14
float map_min
Definition: gridmap.h:50
float map_step_x
Definition: gridmap.h:47
double freq
Definition: gridmap.h:64
int plot_xe
Definition: gridmap.h:35
float gmap_peak2
Definition: gridmap.h:59
float map_plot_max
Definition: gridmap.h:53
char source[32]
Definition: gridmap.h:29
int map_w
Definition: gridmap.h:31
float map_plot_min
Definition: gridmap.h:52
float wt
Definition: gridmap.h:20
float gmap_bw2
Definition: gridmap.h:57