calibration.h

00001 /**********************************************************
00002 ***********************************************************
00003 *               European Southern Observatory
00004 *            VLTI MIDI Data Reduction Software
00005 *
00006 * Module name:  calibration.h
00007 * Description:  
00008 *
00009 *
00010 * History:      
00011 * 24-Sep-03     (csabet) 
00012 ***********************************************************
00013 **********************************************************/
00014 #ifndef _CALIBRATION_H
00015 #define _CALIBRATION_H
00016 
00017 /**********************************************************
00018 *   Include files
00019 **********************************************************/
00020 #include "midiLib.h"
00021 
00022 /**********************************************************
00023 *   Constant definitions
00024 **********************************************************/
00025 
00026 /**********************************************************
00027 *   Global Variables 
00028 **********************************************************/
00029 
00030 /**********************************************************
00031 *   Type definitions 
00032 **********************************************************/
00033 
00034 /**********************************************************
00035 *   Function Prototypes
00036 **********************************************************/
00037 void calibrateWaveUsingPolynom (
00038     MidiFiles       *fileNames,
00039     ImageFormat     *format);
00040 
00041 void getWaveCalPoly (
00042     MidiFiles   *fileNames,
00043     ImageFormat *imageFormat,
00044     int         *error);
00045 
00046 void getCalibratedChWave (
00047     MidiFiles   *fileNames,
00048     ImageFormat *format,
00049     float       **waveCal,
00050     int         *error);
00051 
00052 void createMaskSP (
00053     char    *inFileName,
00054     char    *maskFileName,
00055     int     *error);
00056 
00057 void createMaskFile (
00058     MidiFiles   *fileNames, 
00059     int         *error);
00060     
00061 void prepareMasterFlat (void);
00062 
00063 void prepareMasterDark (void);
00064 
00065 void prepareDispersionRelation (void);
00066 
00067 void preparePhotomAperMask (
00068     char    *fileName,
00069     char    *maskName,
00070     int     *error);
00071 
00072 void prepareSpectroPhotomAperMask (void);
00073 
00074 void prepareZeroPoint (void);
00075 
00076 void prepareSpectralSensitivity (void);
00077 
00078 void checkDelayLineJumps (
00079     const char          *dataKey,
00080     ImageFormat     *format,
00081     CompressedData  *compressed);  
00082 
00083 void checkDelayLineConsistencies (
00084     const char          *dataKey1,
00085     const char          *dataKey2,
00086     CompressedData  *compressedInterf,
00087     CompressedData  *compressedPhotom,
00088     ImageFormat     *formatInterf,
00089     ImageFormat     *formatPhotom,
00090     int             *error);
00091 
00092 
00093 
00094 
00095 /*********************************************************/
00096 #endif
00097 /*********************************************************/
00098 

Generated on 5 Mar 2013 for MIDI Pipeline Reference Manual by  doxygen 1.6.1