OMEGA Pipeline Reference Manual  1.0.5
omega_trim.h
1 /* $Id: omega_trim.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_TRIMOSCAN_H
29 #define OC_TRIMOSCAN_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 #include "omega_fits.h"
37 
38 cpl_image * TrimOscanCorrect (const cpl_frame *, int , int );
39 cpl_image *omega_trim_oscan_correct(omega_fits *ofits, int oscan);
40 /*void DoStatistics (cpl_frame *, cpl_image *, int );*/
41 void DoStatistics (const cpl_frame *, cpl_image *, int,cpl_stats **,cpl_stats **,cpl_stats **,cpl_stats ** );
42 void omega_scan_stats (omega_fits *ofits,cpl_stats **px,cpl_stats **py,
43  cpl_stats **ox,cpl_stats **oy);
44 cpl_vector * omega_get_scan_coord(const cpl_propertylist *plist, int iscan);
45 cpl_image *oscan_row (cpl_image *, int , int );
46 cpl_vector * get_trim_region (const cpl_frame *, int);
47 cpl_vector * omega_get_trim_region(omega_fits *ofits);
48 
49 
50 #endif