MIDI Pipeline Reference Manual  2.8.3
diagnostics.h
1 /**********************************************************
2 ***********************************************************
3 * European Southern Observatory
4 * VLTI Data Reduction Software
5 *
6 * Module name: diagnostics.h
7 * Description:
8 *
9 *
10 * History:
11 * 08-Jan-04 (csabet) Created
12 ***********************************************************
13 **********************************************************/
14 #ifndef _DIAGNOSTICS_H
15 #define _DIAGNOSTICS_H
16 
17 /**********************************************************
18 * Include files
19 **********************************************************/
20 #include "midiLib.h"
21 
22 /**********************************************************
23 * Constant definitions
24 **********************************************************/
25 
26 /**********************************************************
27 * Global Variables
28 **********************************************************/
29 
30 /**********************************************************
31 * Type definitions
32 **********************************************************/
33 void reportRejectList (
34  ImageFormat *format,
35  CompressedData *compressed);
36 
37 void midiCreatePlotFileDouble2D2P (
38  const char *plotFileName,
39  const char *title,
40  const char *xLabel,
41  const char *yLabel,
42  int deletePlot,
43  double *arrayX,
44  double *arrayY,
45  int begin,
46  int end,
47  int interval,
48  const char *lineType);
49 
50 void midiCreatePlotFileDouble2D (
51  const char *plotFileName,
52  const char *title,
53  const char *xLabel,
54  const char *yLabel,
55  int deletePlot,
56  double *array,
57  int begin,
58  int end,
59  int interval);
60 
61 void midiCreateReplotFileDouble2D2P (
62  char *plotFileName,
63  char *title,
64  char *xLabel,
65  char *yLabel,
66  int deletePlot,
67  double *arrayX,
68  double *arrayY,
69  int begin,
70  int end,
71  int interval,
72  char *lineType);
73 
74 void midiCreatePlotFileDouble3D (
75  const char *plotFileName,
76  const char *title,
77  const char *xLabel,
78  const char *yLabel,
79  const char *zLabel,
80  int deletePlot,
81  double *image,
82  int sizeX,
83  int sizeY,
84  const char *style,
85  const char *lineType);
86 
87 void midiCreatePlotFile2D2P (
88  const char *plotFileName,
89  const char *title,
90  const char *xLabel,
91  const char *yLabel,
92  int deletePlot,
93  float *arrayX,
94  float *arrayY,
95  int begin,
96  int end,
97  int interval);
98 
99 void midiCreatePlotFile2D (
100  const char *plotFileName,
101  const char *title,
102  const char *xLabel,
103  const char *yLabel,
104  int deletePlot,
105  float *array,
106  int begin,
107  int end,
108  int interval,
109  int override);
110 
111 void midiCreatePlotFile3D (
112  const char *plotFileName,
113  const char *title,
114  const char *xLabel,
115  const char *yLabel,
116  const char *zLabel,
117  int deletePlot,
118  float *image,
119  int sizeX,
120  int sizeY,
121  const char *style,
122  const char *lineType);
123 
124 void getVersions (void);
125 
126 void prepareWaterfallDisplay (
127  MidiFiles *fileNames,
128  ImageFormat *imageSize,
129  CompressedData *compressed);
130 
131 void prepareWaterpowerDisplay (
132  MidiFiles *filenames,
133  ImageFormat *imageFormat,
134  float *allSpectrum);
135 
136 void reportInterfChopping (
137  const char *dataKey,
138  ImageFormat *format,
139  CompressedData *compressed);
140 
141 void reportPhotomChopping (
142  const char *dataKey,
143  ImageFormat *format,
144  CompressedData *compressed);
145 
146 int countTransitions (
147  char key,
148  int length,
149  char *tarType);
150 
151 void displayPhotomChoppingDisp (
152  const char *dataKey,
153  ImageFormat *format,
154  CompressedData *compressed);
155 
156 void displayInterfChoppingDisp (
157  const char *dataKey,
158  ImageFormat *format,
159  CompressedData *compressed);
160 
161 void midiReportResultsFringe (
162  float *freqCal,
163  ImageFormat *format,
164  DispersedResult *dispResult);
165 
166 /*********************************************************/
167 /*********************************************************/
168 #endif