MIDI Pipeline Reference Manual  2.8.3
memoryHandling.h
1 /**********************************************************
2 ***********************************************************
3 * European Southern Observatory
4 * MIDI Data Reduction Software
5 *
6 * Module name: memoryHandling.h
7 * Description:
8 *
9 *
10 * History:
11 * 23-Jun-03 (csabet) Created
12 ***********************************************************
13 **********************************************************/
14 #ifndef _MEMORY_HANDLING_H
15 #define _MEMORY_HANDLING_H
16 
17 /**********************************************************
18 * Include files
19 **********************************************************/
20 
21 /**********************************************************
22 * Constant definitions
23 **********************************************************/
24 
25 /**********************************************************
26 * Global Variables
27 **********************************************************/
28 
29 /**********************************************************
30 * Type definitions
31 **********************************************************/
32 
33 /**********************************************************
34 * Function prototypes
35 **********************************************************/
36 int **callocRejectList (
37  ImageFormat *format);
38 
39 void freeRejectList (
40  ImageFormat *format,
41  int **array);
42 
43 KappaCoefficients *callocKappaCoefficients (
44  int numOfChannels);
45 
46 void freeKappaCoefficients (
47  KappaCoefficients *array);
48 
49 TransferRatios *callocTransferRatios (
50  int numOfChannels);
51 
52 void freeTransferRatios (
53  TransferRatios *array);
54 
55 ImageQuality *callocImageQuality (
56  ImageFormat *format);
57 
58 void freeImageQuality (
59  ImageFormat *format,
60  ImageQuality *image);
61 
62 ImageFormat *callocImageFormat (void);
63 
64 void freeImageFormat (
65  ImageFormat *array);
66 
67 FilterData *callocFilterInfo (void);
68 
69 void freeFilterInfo (
70  FilterData *array);
71 
72 CalibratedVisibility *callocCalibVis (void);
73 
74 void freeCalibVis (
75  CalibratedVisibility *array);
76 
77 TransferFunction *callocTrFunction (
78  int size);
79 
80 void freeTrFunction (
81  TransferFunction *array);
82 
83 void freeCalibrator (
84  CalibratorParam *calibrator);
85 
86 CalibratorParam *callocCalibrator (void);
87 
88 IauExchange *callocIauExchange (
89  int numOfTelescopes,
90  int numOfChannels);
91 
92 void freeIauExchange (
93  IauExchange *iauData);
94 
95 PhotometryResult *callocPhotometry (void);
96 
97 void freePhotometry (
98 PhotometryResult *photometry);
99 
100 RawVisibility *callocRawVis (void);
101 
102 void freeRawVis (
103  RawVisibility *rawVis);
104 
105 CompressedData *callocMidiCompressed (
106  ImageFormat *format);
107 
108 void freeCompressedData (
109  ImageFormat *format,
110  CompressedData *arrayData);
111 
112 MidiFiles *callocMidiFiles (
113  int stringLength);
114 
115 void freeMidiFiles (
116  MidiFiles *fileNmaes);
117 
118 float **callocWaveCalibration (
119  int regions,
120  ImageFormat *format);
121 
122 void freeWaveCalibration (
123  int numOfRegions,
124  float **array);
125 
126 DispersedResult *callocDispResult (
127  int numOfChannels);
128 
129 void freeDispResult (
130  DispersedResult *array);
131 
132 DispersiveTrans *callocDspTrn (
133  int numOfFiles);
134 
135 void freeDspTrn (
136  DispersiveTrans *array);
137 
138 DetLinearity *callocDetLin (
139  int numOfFiles,
140  ImageFormat *format);
141 
142 void freeDetLin (
143  DetLinearity *array);
144 
145 DetRonNoise *callocDetRon (
146  ImageFormat *imageSize);
147 
148 void freeDetRon (
149  DetRonNoise *array);
150 
151 ReferencePixel *callocRefPix (
152  int numOfFiles,
153  int numOfBeams);
154 
155 void freeRefPix (
156  ReferencePixel *array);
157 
158 WaveCalibration *callocWaveCal (
159  int numOfFiles,
160  int numOfRecords,
161  ImageFormat *format);
162 
163 void freeWaveCal (
164  ImageFormat *format,
165  WaveCalibration *array);
166 
167 /*********************************************************/
168 /*********************************************************/
169 #endif