memoryHandling.h

00001 /**********************************************************
00002 ***********************************************************
00003 *               European Southern Observatory
00004 *               MIDI Data Reduction Software
00005 *
00006 * Module name:  memoryHandling.h
00007 * Description:
00008 *
00009 *
00010 * History:
00011 * 23-Jun-03     (csabet) Created
00012 ***********************************************************
00013 **********************************************************/
00014 #ifndef _MEMORY_HANDLING_H
00015 #define _MEMORY_HANDLING_H
00016 
00017 /**********************************************************
00018 *   Include files
00019 **********************************************************/
00020 
00021 /**********************************************************
00022 *   Constant definitions
00023 **********************************************************/
00024 
00025 /**********************************************************
00026 *   Global Variables
00027 **********************************************************/
00028 
00029 /**********************************************************
00030 *   Type definitions
00031 **********************************************************/
00032 
00033 /**********************************************************
00034 *   Function prototypes
00035 **********************************************************/
00036 int **callocRejectList (
00037     ImageFormat *format);
00038 
00039 void freeRejectList (
00040     ImageFormat *format,
00041     int         **array);
00042 
00043 KappaCoefficients *callocKappaCoefficients (
00044     int numOfChannels);
00045 
00046 void freeKappaCoefficients (
00047     KappaCoefficients   *array);
00048 
00049 TransferRatios *callocTransferRatios (
00050     int numOfChannels);
00051 
00052 void freeTransferRatios (
00053     TransferRatios  *array);
00054 
00055 ImageQuality *callocImageQuality (
00056     ImageFormat *format);
00057 
00058 void freeImageQuality (
00059     ImageFormat     *format,
00060     ImageQuality    *image);
00061 
00062 ImageFormat *callocImageFormat (void);
00063 
00064 void freeImageFormat (
00065     ImageFormat *array);
00066 
00067 FilterData *callocFilterInfo (void);
00068 
00069 void freeFilterInfo (
00070     FilterData *array);
00071 
00072 CalibratedVisibility *callocCalibVis (void);
00073 
00074 void freeCalibVis (
00075     CalibratedVisibility *array);
00076 
00077 TransferFunction *callocTrFunction (
00078     int size);
00079 
00080 void freeTrFunction (
00081     TransferFunction *array);
00082 
00083 void freeCalibrator (
00084     CalibratorParam *calibrator);
00085 
00086 CalibratorParam *callocCalibrator (void);
00087 
00088 IauExchange *callocIauExchange (
00089     int numOfTelescopes,
00090     int numOfChannels);
00091 
00092 void freeIauExchange (
00093     IauExchange *iauData);
00094 
00095 PhotometryResult *callocPhotometry (void);
00096 
00097 void freePhotometry (
00098 PhotometryResult *photometry);
00099 
00100 RawVisibility *callocRawVis (void);
00101 
00102 void freeRawVis (
00103     RawVisibility *rawVis);
00104 
00105 CompressedData *callocMidiCompressed (
00106     ImageFormat         *format);
00107 
00108 void freeCompressedData (
00109     ImageFormat         *format,
00110     CompressedData      *arrayData);
00111 
00112 MidiFiles *callocMidiFiles (
00113     int stringLength);
00114 
00115 void freeMidiFiles (
00116     MidiFiles   *fileNmaes);
00117 
00118 float **callocWaveCalibration (
00119     int         regions,
00120     ImageFormat *format);
00121 
00122 void freeWaveCalibration (
00123     int     numOfRegions,
00124     float   **array);
00125 
00126 DispersedResult *callocDispResult (
00127     int numOfChannels);
00128 
00129 void freeDispResult (
00130     DispersedResult *array);
00131 
00132 DispersiveTrans *callocDspTrn (
00133     int numOfFiles);
00134 
00135 void freeDspTrn (
00136     DispersiveTrans *array);
00137 
00138 DetLinearity *callocDetLin (
00139     int numOfFiles,
00140     ImageFormat *format);
00141 
00142 void freeDetLin (
00143     DetLinearity    *array);
00144 
00145 DetRonNoise *callocDetRon (
00146     ImageFormat *imageSize);
00147 
00148 void freeDetRon (
00149     DetRonNoise *array);
00150 
00151 ReferencePixel *callocRefPix (
00152     int         numOfFiles,
00153     int         numOfBeams);
00154     
00155 void freeRefPix (
00156     ReferencePixel  *array);
00157 
00158 WaveCalibration *callocWaveCal (
00159     int         numOfFiles,
00160     int         numOfRecords,
00161     ImageFormat *format);
00162 
00163 void freeWaveCal (
00164     ImageFormat     *format,
00165     WaveCalibration *array);
00166 
00167 /*********************************************************/
00168 /*********************************************************/
00169 #endif

Generated on 15 Mar 2012 for MIDI Pipeline Reference Manual by  doxygen 1.6.1