SINFONI Pipeline Reference Manual  2.6.0
sinfo_cube_construct.h
1 #ifndef SINFO_CUBE_CONSTRUCT_H
2 #define SINFO_CUBE_CONSTRUCT_H
3 /*
4  * This file is part of the ESO SINFONI Pipeline
5  * Copyright (C) 2004,2005 European Southern Observatory
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
20  */
21 /*******************************************************************************
22 * E.S.O. - VLT project
23 *
24 * "@(#) $Id: sinfo_cube_construct.h,v 1.4 2007-06-06 07:10:45 amodigli Exp $"
25 *
26 * who when what
27 * -------- -------- ----------------------------------------------
28 * schreib 06/10/00 created
29 */
30 
31 /************************************************************************
32  * ned_cube_construct.h
33  * routines needed to construct a 3D-data cube
34  *----------------------------------------------------------------------
35  */
36 
37 /*
38  * header files
39  */
40 
41 #include "sinfo_new_cube_ops.h"
42 
43 /*
44  * function prototypes
45  */
46 
57 cpl_image *
58 sinfo_new_convolve_ns_image_by_gauss( cpl_image * lineImage,int hw);
59 
76 float *
77 sinfo_north_south_test( cpl_image * ns_image,
78  int n_slitlets,
79  int halfWidth,
80  float fwhm,
81  float minDiff,
82  float estimated_dist,
83  float devtol,
84  int top,
85  int bottom ) ;
86 
87 
111 cpl_imagelist *
112 sinfo_new_make_cube ( cpl_image * calibImage,
113  float * distances,
114  float * correct_diff_dist ) ;
115 
132 cpl_imagelist *
133 sinfo_new_make_cube_spi ( cpl_image * calibImage,
134  float ** slit_edges,
135  float * shift ) ;
136 
137 
164 cpl_imagelist *
165 sinfo_new_make_cube_dist ( cpl_image * calibImage,
166  float firstCol,
167  float * distances,
168  float * shift ) ;
169 
170 
196 cpl_imagelist *
197 sinfo_new_make_3D_cube_dist ( cpl_image * calibImage,
198  float firstCol,
199  float * distances,
200  float * shift ) ;
201 
202 
219 cpl_imagelist *
220 sinfo_new_make_3D_cube ( cpl_image * calibImage,
221  int * kpixshift,
222  int kpixfirst ) ;
223 
224 
237 cpl_imagelist *
238 sinfo_new_determine_mask_cube ( cpl_imagelist * sourceMaskCube,
239  float lowLimit,
240  float highLimit ) ;
241 
242 
280 cpl_imagelist *
281 sinfo_new_interpol_cube ( cpl_imagelist * sourceCube,
282  cpl_imagelist * maskCube,
283  int n_neighbors, /* 7 */
284  int max_radius ) ; /* 5 */
285 
286 
308 cpl_imagelist *
309 sinfo_new_fine_tune_cube( cpl_imagelist * cube,
310  float * correct_diff_dist,
311  int n_order) ;
312 
313 
334 cpl_imagelist *
335 sinfo_new_fine_tune_cube_by_FFT( cpl_imagelist * cube,
336  float * correct_diff_dist ) ;
337 
367 cpl_imagelist *
368 sinfo_new_fine_tune_cube_by_spline ( cpl_imagelist * cube,
369  float * correct_diff_dist ) ;
370 
390 float *
391 sinfo_new_calibrate_ns_test( cpl_image * ns_image,
392  int n_slitlets,
393  int halfWidth,
394  float fwhm,
395  float minDiff,
396  float estimated_dist,
397  float devtol,
398  int bottom,
399  int top ) ;
400 
401 
402 cpl_image *
403 sinfo_new_make_true_resamp(cpl_image * calibImage, cpl_image* wavemap);
404 
405 
406 #endif