photometry.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _PHOTOMETRY_H
00015 #define _PHOTOMETRY_H
00016
00017
00018
00019
00020 #include "midiLib.h"
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037 void estimatePhotom(
00038 char key,
00039 CompressedData *compressed,
00040 ImageFormat *format,
00041 float **photom,
00042 float **photomErr,
00043 int *error);
00044
00045 void computeBinnedPhotom (
00046 CompressedData *photomA,
00047 CompressedData *photomB,
00048 ImageFormat *format,
00049 float *photomA1,
00050 float *photomA2,
00051 float *photomA3,
00052 float *photomB1,
00053 float *photomB2,
00054 float *photomB3,
00055 int *error);
00056
00057 float getChopPhotomSP (
00058 int X,
00059 float *compressed,
00060 int numOfFrames,
00061 int framesPerScan,
00062 int *badFrameList,
00063 float *errRMS,
00064 float *choppingRMS);
00065
00066 float getChopPhotom (
00067 int X,
00068 float *collapsedData,
00069 char *targetType,
00070 float *err,
00071 float *choppingRMS,
00072 int numData);
00073
00074 void estimatePhotomUndisp (
00075 ImageFormat *format,
00076 CompressedData *inData,
00077 float *errs,
00078 float *choppingRMS,
00079 float *results);
00080
00081 float getChopPhotomUndisp (
00082 double *collapsedData,
00083 char *targetType,
00084 float *err,
00085 float *choppingrms,
00086 int numData);
00087
00088
00089 #endif
00090
00091