00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #if !defined(PM_SUBTRACT_SKY_H)
00016 #define PM_SUBTRACT_SKY_H
00017
00018 #if HAVE_CONFIG_H
00019 #include <config.h>
00020 #endif
00021
00022 #include<stdio.h>
00023 #include<math.h>
00024 #include "pslib.h"
00025 #include "pmFPA.h"
00026
00027
00028 typedef enum {
00029 PM_FIT_NONE,
00030 PM_FIT_POLYNOMIAL,
00031 PM_FIT_SPLINE
00032 } psFit;
00033
00034 pmReadout *pmSubtractSky(pmReadout *in,
00035 void *fitSpec,
00036 psFit fit,
00037 int binFactor,
00038 psStats *stats,
00039 float clipSD);
00040 #endif