36 #include <irplib_framelist.h>
38 #include "naco_pfits.h"
45 #define NACO_SPC_MODEL_COEFFS 4
47 #define NACO_SPC_MODEL_COLS 9
49 #define NACO_SPC_LAB_MODE "SpecMode"
50 #define NACO_SPC_LAB_RESID "Residual"
51 #define NACO_SPC_LAB_ORDER "Fit_Order"
52 #define NACO_SPC_LAB_XMIN "XMin"
53 #define NACO_SPC_LAB_XMAX "XMax"
54 #define NACO_SPC_LAB_C1 "C_1"
55 #define NACO_SPC_LAB_C2 "C_2"
56 #define NACO_SPC_LAB_C3 "C_3"
57 #define NACO_SPC_LAB_C4 "C_4"
59 #define NACO_SPC_LAB_WAVE "WAVELENGTH"
60 #define NACO_SPC_LAB_INTENS "INTENSITY"
62 #define NACO_SPC_MAN_MODESPLIT \
63 "The input frames are split into groups with identical values of '" \
64 NACO_PFITS_DOUBLE_DIT "', '" \
65 NACO_PFITS_STRING_SLITNAME "', '" \
66 NACO_PFITS_DOUBLE_CWLEN "' and '" \
67 NACO_PFITS_STRING_SPECMODE "'."
76 const irplib_framelist *,
77 const cpl_propertylist *);
88 const cpl_imagelist *);
cpl_error_code naco_vector_correlate_imagelist_1d(cpl_vector *, const cpl_vector *, cpl_boolean, const cpl_imagelist *)
Use 1D cross-correlation to recompute the offsets in one direction.
char * naco_spc_make_tag(const cpl_frame *, const cpl_propertylist *, int)
Create a string suitable for frame comparison in spectroscopy.
cpl_error_code naco_imagelist_add_split(cpl_imagelist *)
Readd all the pairs, preserving the number of images.
cpl_error_code naco_imagelist_split(cpl_imagelist *)
Split the images in an imagelist into positive and negative images.
cpl_error_code naco_imagelist_append_invert(cpl_imagelist *)
Fo each image append also its inverted.
cpl_error_code naco_imagelist_load_diff(cpl_imagelist *, const irplib_framelist *, const cpl_propertylist *)
Fill the list of difference images from on/off frames.