20 #ifndef GIWAVECALIB_TYPES_H
21 #define GIWAVECALIB_TYPES_H
26 #include <cpl_image.h>
29 #include <gislitgeometry.h>
30 #include <gimath_lm.h>
70 #define LF_R_AMPLI 0x0001
71 #define LF_R_NITER 0x0002
72 #define LF_R_CENTR 0x0004
73 #define LF_R_WIDTH 0x0008
74 #define LF_R_LEFT 0x0010
75 #define LF_R_RIGHT 0x0020
76 #define LF_R_OFFST 0x0040
77 #define LF_R_BADLN 0x0080
78 #define LF_R_ERROR 0x0100
79 #define LF_R_PSFIT 0x0200
80 #define LF_R_XRFIT 0x0400
81 #define LF_R_RESOL 0x0800
82 #define LF_R_XCCD 0x1000
93 #define LF_G_SCENTER 5
96 #define LF_G_NPARAMS 15
103 #define LF_E_CENTER 1
108 #define LF_E_SCENTER 6
110 #define LF_E_SWIDTH 8
111 #define LF_E_SEXPON 9
112 #define LF_E_NPARAMS 17
118 #define DOUBLE2BOOLEAN 0.5
149 struct GiLocPosition {
153 cpl_image *centroids;
157 typedef struct GiLocPosition GiLocPosition;
166 struct GiWcalSolution {
168 lmrq_model_id opt_mod;
169 cpl_matrix *opt_mod_params;
173 typedef struct GiWcalSolution GiWcalSolution;
@ GILOCDATATYPE_UNDEFINED
@ GILOCDATATYPE_FIT_COEFFS
@ GILOCDATATYPE_FITTED_DATA
GiWcalSolution * giraffe_wcalsolution_new(void)
Create a new GiWcalSolution.
void giraffe_wcalsolution_delete(GiWcalSolution *)
Destroy an GiWcalSolution.
void giraffe_wcalsolution_dump(GiWcalSolution *)
Dump the the information contained in a GiWcalSolution to output.
GiWcalSolution * giraffe_wcalsolution_create(GiTable *)
Create a wavecalibration results structure based on a GiTable read from disk.
The slit geometry object definition.