HOPS
HOPS class reference
meta_struct.h
Go to the documentation of this file.
1 /*
2  * Capture various bits of meta-data that are computed
3  * or generated during the plotting process/preparation
4  * but not actually stored elsewhere.
5  */
6 #ifndef META_STRUCT_H__
7 #define META_STRUCT_H__
8 
9 #include "ovex.h"
10 #include "pass_struct.h"
11 
12 struct type_meta {
13  /* defined in generate_text.c */
14  char corrvers[36]; /* correlator version */
15  char rt_sn_bl[80]; /* rootfile scanname baseline */
16  char polstr[13]; /* pol'n string worked out in ... */
17  char exper_name[10]; /* from (o)vex */
18  int exper_num; /* from (o)vex */
19  char yr_doy[10]; /* year and doy */
20  char pass_start[13]; /* pass start time */
21  char pass_stop[13]; /* pass stop time */
22  char pass_frt[13]; /* pass fourfit ref time */
23  char corr_time[23]; /* correlation time */
24  char ff_time[23]; /* fourfit time */
25  char build_time[23]; /* build time */
26  char fourfitcmd[256];/* fourfit exec found by which */
27  char ra[23]; /* R.A. */
28  char dec[23]; /* Decl */
29 
30  /* defined in generate_graphs.c; start is first, limit is last */
31  int start_plot; /* starting plot index for segmented data */
32  int limit_plot; /* number of segmented panels without ALL */
33  int nplots; /* number segmented panels (include ALL) */
34  int vplots; /* number visible segmented panels */
35  char skip_plots[MAXFREQ+1]; /* nonzero flags skipped plots */
36 };
37 
38 /* these are called from make_postplot() and used no-where else */
39 /* tickinc is set in generate_graphs() and used in generate_text() */
40 int generate_graphs(struct scan_struct *root, struct type_pass *pass,
41  char *fringename, char *ps_file, double *tickinc);
42 void generate_text(struct scan_struct *root, struct type_pass *pass,
43  char *fringename, char *ps_file, double tickinc);
44 
45 #endif /* META_STRUCT_H__ */
46 /*
47  * eof
48  */
int exper_num
Definition: meta_struct.h:18
char corrvers[36]
Definition: meta_struct.h:14
int limit_plot
Definition: meta_struct.h:32
char pass_stop[13]
Definition: meta_struct.h:21
int start_plot
Definition: meta_struct.h:31
char pass_start[13]
Definition: meta_struct.h:20
void generate_text(struct scan_struct *root, struct type_pass *pass, char *fringename, char *ps_file, double tickinc)
Definition: generate_text.c:59
int nplots
Definition: meta_struct.h:33
char fourfitcmd[256]
Definition: meta_struct.h:26
int vplots
Definition: meta_struct.h:34
char corr_time[23]
Definition: meta_struct.h:23
char polstr[13]
Definition: meta_struct.h:16
char build_time[23]
Definition: meta_struct.h:25
int generate_graphs(struct scan_struct *root, struct type_pass *pass, char *fringename, char *ps_file, double *tickinc)
Definition: generate_graphs.c:125
char rt_sn_bl[80]
Definition: meta_struct.h:15
char exper_name[10]
Definition: meta_struct.h:17
char yr_doy[10]
Definition: meta_struct.h:19
char skip_plots[MAXFREQ+1]
Definition: meta_struct.h:35
char pass_frt[13]
Definition: meta_struct.h:22
char ff_time[23]
Definition: meta_struct.h:24
Definition: meta_struct.h:12
char * fringename(fringesum *fsumm)
Definition: fringename.c:54
Definition: ovex.h:156
Definition: pass_struct.h:86
#define MAXFREQ
Definition: sizelimits.h:1
Definition: vex.h:200
Definition: vex.h:193