giflat.h
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 GIFLAT_H
00029 #define GIFLAT_H
00030
00031 #include <cxtypes.h>
00032
00033 #include <cpl_macros.h>
00034
00035 #include <giimage.h>
00036 #include <giextraction.h>
00037
00038
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042
00043
00044 struct GiFlatConfig {
00045 cxbool load;
00046 cxbool apply;
00047 cxbool transmission;
00048 };
00049
00050 typedef struct GiFlatConfig GiFlatConfig;
00051
00052
00053 cxint giraffe_flat_apply(GiExtraction *spectra, const GiTable *fibers,
00054 const GiImage *flat, const GiImage* errors,
00055 GiFlatConfig *config);
00056
00057
00058
00059
00060
00061
00062 GiFlatConfig *giraffe_flat_config_create(cpl_parameterlist *list);
00063 void giraffe_flat_config_destroy(GiFlatConfig *config);
00064
00065 void giraffe_flat_config_add(cpl_parameterlist *list);
00066
00067
00068 #ifdef __cplusplus
00069 }
00070 #endif
00071
00072 #endif