estimationFrg.h

00001 /**********************************************************
00002 ***********************************************************
00003 *               European Southern Observatory
00004 *            VLTI MIDI Data Reduction Software
00005 *
00006 * Module name:  estimationFrg.h
00007 * Description:
00008 *
00009 *
00010 * History:
00011 * 16-Jul-04     (csabet) Added more prototypes
00012 * 12-Dec-03     (csabet) Added more prototypes
00013 * 03-Sep-03     (csabet) Created the prototypes for Jeff. Further modification
00014 *               shall be his responsibility
00015 ***********************************************************
00016 **********************************************************/
00017 #ifndef _ESTIMATION_FRG_H
00018 #define _ESTIMATION_FRG_H
00019 
00020 /**********************************************************
00021 *   Include files
00022 **********************************************************/
00023 #include "midiLib.h"
00024 
00025 /**********************************************************
00026 *   Constant definitions
00027 **********************************************************/
00028 
00029 /**********************************************************
00030 *   Global Variables
00031 **********************************************************/
00032 
00033 /**********************************************************
00034 *   Type definitions
00035 **********************************************************/
00036 
00037 /**********************************************************
00038 *   Function Prototypes
00039 **********************************************************/
00040 void estimateFringe (
00041     MidiFiles       *fileNames,
00042     FilterData      *filterinfo,
00043     CompressedData  *compressed,
00044     ImageFormat     *format,
00045     float           *freqCal,
00046     float           *dispRawVis,
00047     float           *dispRawVisErr,
00048     int             *error);
00049 
00050 int getChannelSpectrum (
00051     int         channel,
00052     int         lowFreqIndex,
00053     int         highFreqIndex,
00054     int         *rejectList,
00055     float       *indata1,
00056     float       *indata2,
00057     ImageFormat *format,
00058         float       *output,
00059     float        *Peakvector);
00060 
00061 void ProcessSpectrumEachChannel (
00062     MidiFiles       *fileNames,
00063     FilterData      *filterinfo,
00064     CompressedData  *compressed,
00065     ImageFormat     *format,
00066     float           *dispRawVis,
00067     float           *dispRawVisErr,
00068     float           *freqCal,
00069     int             *error);
00070 
00071 void findSpectralPeak (
00072     float   *data,
00073     int     lofreqindex,
00074     int     hifreqindex,
00075     float   *peakch,
00076     float   *peakinterp);
00077 
00078 float analyseSpectrum (
00079     ImageFormat *format,
00080     float       fringeFreq,
00081     float       *spectrum,
00082     float       calib,
00083     float       *fringePowerErr);
00084 
00085 /*********************************************************/
00086 #endif
00087 /*********************************************************/
00088 

Generated on 11 Feb 2011 for MIDI Pipeline Reference Manual by  doxygen 1.6.1