00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef IRPLIB_DETMON_H
00029 #define IRPLIB_DETMON_H
00030
00031
00032
00033
00034
00035 #include <cpl.h>
00036 #if defined CPL_VERSION_CODE && CPL_VERSION_CODE >= CPL_VERSION(3, 1, 90)
00037 #include <cpl_fit.h>
00038 #endif
00039
00040
00041
00042
00043
00044
00045
00046 #define irplib_detmon_get_description(RECIPE_NAME, PIPE_NAME, \
00047 DETMON_IR_LG_ON_RAW, \
00048 DETMON_IR_LG_OFF_RAW) \
00049 RECIPE_NAME " -- " PIPE_NAME " linearity/gain recipe for IR.\n" \
00050 "The files listed in the Set Of Frames must be tagged:\n" \
00051 "the raw-on-file.fits "DETMON_IR_LG_ON_RAW" and\n" \
00052 "the raw-off-file.fits "DETMON_IR_LG_OFF_RAW"\n"
00053
00054 int irplib_detmon_lg(cpl_frameset *,
00055 const cpl_parameterlist *,
00056 const char *,
00057 const char *,
00058 const char *,
00059 const char *,
00060 const char *,
00061 const char *,
00062 const char *,
00063 const char *,
00064 const char *,
00065 int (*)(const cpl_frame *,
00066 const cpl_frame *),
00067 const cpl_boolean );
00068
00069 cpl_image * irplib_detmon_image_correlate(const cpl_image *,
00070 const cpl_image *,
00071 const int ,
00072 const int );
00073
00074 int irplib_detmon_fill_params(cpl_parameterlist * parlist,
00075 const char * recipe_name,
00076 const char * pipeline_name);
00077
00078 #endif