00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #if !defined(PM_READOUT_COMBINE_H)
00015 #define PM_READOUT_COMBINE_H
00016
00017 #if HAVE_CONFIG_H
00018 #include <config.h>
00019 #endif
00020
00021 #include<stdio.h>
00022 #include<math.h>
00023 #include "pslib.h"
00024 #include "psConstants.h"
00025 #include "pmAstrometry.h"
00026
00027 typedef struct
00028 {
00029 psStats *stats;
00030 unsigned int maskVal;
00031 float fracHigh;
00032 float fracLow;
00033 int nKeep;
00034 }
00035 psCombineParams;
00036
00037 psImage *pmReadoutCombine(psImage *output,
00038 const psList *inputs,
00039 psCombineParams *params,
00040 const psVector *zero,
00041 const psVector *scale,
00042 bool applyZeroScale,
00043 float gain,
00044 float readnoise);
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057 psStats *pmFringeStats(
00058 psArray *fringePoints,
00059 psImage *image,
00060 psMetadata *config
00061 );
00062
00063 typedef struct
00064 {
00065 psF64 xMin;
00066 psF64 yMin;
00067 psF64 xMax;
00068 psF64 yMax;
00069 psF64 delta;
00070 psF64 midValue;
00071 }
00072 pmFringePoint;
00073
00074 #endif