00001 /********************************************************** 00002 *********************************************************** 00003 * European Southern Observatory 00004 * VLTI MIDI Data Reduction Software 00005 * 00006 * Module name: estimationFrgHSUndisp.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_HS_UNDISP_H 00018 #define _ESTIMATION_FRG_HS_UNDISP_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 estimateFrgHSUndisp ( 00041 CompressedData *compressedInterf, 00042 CompressedData *compressedPhotA, 00043 CompressedData *compressedPhotB, 00044 FilterData *filterinfo, 00045 ImageFormat *formatInterf, 00046 ImageFormat *formatPhotomA, 00047 ImageFormat *formatPhotomB, 00048 RawVisibility *rawVis, 00049 PhotometryResult *photometry); 00050 00051 void accumulatePowerSpectra ( 00052 int region, 00053 ImageFormat *imageformat, 00054 float *eachSpectrum, 00055 int *scanRangeMask, 00056 int numOfScansProcessed, 00057 float *accumPS); 00058 00059 float estimateCorrelatedFlux2 ( 00060 ImageFormat *imageFormat, 00061 float *accumPS, 00062 float bandwidth, 00063 int loFreq, 00064 int hiFreq, 00065 float noiselev); 00066 00067 float estimateCorrelatedFlux ( 00068 ImageFormat *imageFormat, 00069 float *accumPS, 00070 int loFreq, 00071 int hiFreq, 00072 float noiselev); 00073 00074 /*********************************************************/ 00075 #endif 00076 /*********************************************************/ 00077