00001 /* $Id: xsh_irplib_mkmaster.h,v 1.5 2012/06/13 09:25:20 amodigli Exp $ 00002 * 00003 * This file is part of the irplib package 00004 * Copyright (C) 2002,2003 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: amodigli $ 00023 * $Date: 2012/06/13 09:25:20 $ 00024 * $Revision: 1.5 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef XSH_IRPLIB_MKMASTER_H 00029 #define XSH_IRPLIB_MKMASTER_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 00035 #include <cpl.h> 00036 #include <xsh_detmon.h> 00037 00038 cpl_image* 00039 xsh_irplib_mkmaster_mean(cpl_imagelist* images,const double kappa, const int nclip, 00040 const double tolerance,const double klow,const double khigh); 00041 00042 cpl_image* 00043 xsh_irplib_mkmaster_median(cpl_imagelist* images,const double kappa, const int nclip, 00044 const double tolerance); 00045 00046 cpl_imagelist* 00047 xsh_irplib_mkmaster_dark_fill_imagelist(const cpl_imagelist* raw_images, 00048 cpl_propertylist** raw_headers, const cpl_image* master_bias, 00049 double* mean_exptime); 00050 cpl_vector * 00051 xsh_irplib_imagelist_get_clean_mean_levels(const cpl_imagelist* iml, 00052 const double kappa, 00053 const int nclip, 00054 const double tolerance); 00055 #endif