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
00026
00027 typedef enum {
00028 PM_FIT_NONE,
00029 PM_FIT_POLYNOMIAL,
00030 PM_FIT_SPLINE
00031 } psFit;
00032
00033 psReadout *pmSubtractSky(psReadout *in,
00034 void *fitSpec,
00035 psFit fit,
00036 int binFactor,
00037 psStats *stats,
00038 float clipSD);
00039 #endif