OMEGA Pipeline Reference Manual  1.0.5
omega_flats.h
1 /* $Id: omega_flats.h,v 1.1.1.1 2011-03-16 11:59:34 agabasch Exp $
2  *
3  * This file is part of the OMEGA Pipeline
4  * Copyright (C) 2002,2003 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: agabasch $
23  * $Date: 2011-03-16 11:59:34 $
24  * $Revision: 1.1.1.1 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef OC_FLATS_H
29 #define OC_FLATS_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 
37 cpl_image * omega_make_mflat(cpl_image *, cpl_image *, cpl_mask *, cpl_parameterlist *);
38 int omega_fringecor(cpl_image *sci, const cpl_image *fringe, const cpl_image *bpm,
39  const cpl_parameterlist *fpars);
40 int omega_flatcor(cpl_image *image, const cpl_image *flat, const cpl_image *nsky);
41 cpl_image *omega_nsky_create(cpl_imagelist *ilist, cpl_image *bpm, int n);
42 cpl_image *omega_fringes_create(cpl_imagelist *ilist, cpl_image *bpm, int n);
43 
44 #endif