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 NACO_SPC_H
00029 #define NACO_SPC_H
00030
00031
00032
00033
00034
00035 #include <cpl.h>
00036 #include <irplib_framelist.h>
00037
00038 #include "naco_pfits.h"
00039
00040
00041
00042
00043
00044
00045 #define NACO_SPC_MODEL_COEFFS 4
00046
00047 #define NACO_SPC_MODEL_COLS 9
00048
00049 #define NACO_SPC_LAB_MODE "SpecMode"
00050 #define NACO_SPC_LAB_RESID "Residual"
00051 #define NACO_SPC_LAB_ORDER "Fit_Order"
00052 #define NACO_SPC_LAB_XMIN "XMin"
00053 #define NACO_SPC_LAB_XMAX "XMax"
00054 #define NACO_SPC_LAB_C1 "C_1"
00055 #define NACO_SPC_LAB_C2 "C_2"
00056 #define NACO_SPC_LAB_C3 "C_3"
00057 #define NACO_SPC_LAB_C4 "C_4"
00058
00059 #define NACO_SPC_LAB_WAVE "WAVELENGTH"
00060 #define NACO_SPC_LAB_INTENS "INTENSITY"
00061
00062 #define NACO_SPC_MAN_MODESPLIT \
00063 "The input frames are split into groups with identical values of '" \
00064 NACO_PFITS_DOUBLE_DIT "', '" \
00065 NACO_PFITS_STRING_SLITNAME "', '" \
00066 NACO_PFITS_DOUBLE_CWLEN "' and '" \
00067 NACO_PFITS_STRING_SPECMODE "'."
00068
00069
00070
00071
00072
00073 char * naco_spc_make_tag(const cpl_frame*, const cpl_propertylist *, int);
00074
00075 cpl_error_code naco_imagelist_load_diff(cpl_imagelist *,
00076 const irplib_framelist *,
00077 const cpl_propertylist *);
00078
00079 cpl_error_code naco_imagelist_split(cpl_imagelist *);
00080
00081 cpl_error_code naco_imagelist_add_split(cpl_imagelist *);
00082
00083 cpl_error_code naco_imagelist_append_invert(cpl_imagelist *);
00084
00085 cpl_error_code naco_vector_correlate_imagelist_1d(cpl_vector *,
00086 const cpl_vector *,
00087 cpl_boolean,
00088 const cpl_imagelist *);
00089 #endif