NACO Pipeline Reference Manual  4.4.0
irplib_mkmaster.h
1 /* $Id: irplib_mkmaster.h,v 1.3 2011-11-02 13:17:25 amodigli Exp $
2  *
3  * This file is part of the irplib package
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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: amodigli $
23  * $Date: 2011-11-02 13:17:25 $
24  * $Revision: 1.3 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef IRPLIB_MKMASTER_H
29 #define IRPLIB_MKMASTER_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <cpl.h>
36 #include <irplib_ksigma_clip.h>
37 
38 cpl_image*
39 irplib_mkmaster_mean(cpl_imagelist* images,const double kappa, const int nclip, const double tolerance,const double klow,const double khigh,const int niter);
40 
41 cpl_image*
42 irplib_mkmaster_median(cpl_imagelist* images,const double kappa, const int nclip, const double tolerance);
43 
44 cpl_image *
45 irplib_mdark_process_chip(const cpl_imagelist *raw_images,
46  cpl_propertylist **raw_headers, const cpl_image *master_bias,
47  cpl_propertylist *mdark_header, const cpl_parameterlist *parameters,
48  const char* recipe_id, cpl_table* qclog, const int do_qc,
49  const char* STACK_METHOD, const double STACK_KLOW, const double STACK_KHIGH,
50  const int STACK_NITER,
51  const int pr_num_x, const int pr_num_y,
52  const int pr_box_sx, const int pr_box_sy);
53 #endif
cpl_image * irplib_mkmaster_median(cpl_imagelist *images, const double kappa, const int nclip, const double tolerance)
Computes master frame by clean stack median of the input imagelist.
cpl_image * irplib_mkmaster_mean(cpl_imagelist *images, const double kappa, const int nclip, const double tolerance, const double klow, const double khigh, const int niter)
Computes master frame by clean stack mean of the input imagelist.