00001 /* 00002 * This file is part of the ESO UVES Pipeline 00003 * Copyright (C) 2004,2005 European Southern Observatory 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA 00018 */ 00019 00020 /* 00021 * $Author: amodigli $ 00022 * $Date: 2010/09/24 09:32:02 $ 00023 * $Revision: 1.8 $ 00024 * $Name: uves-5_0_0 $ 00025 * $Log: uves_corrbadpix.h,v $ 00026 * Revision 1.8 2010/09/24 09:32:02 amodigli 00027 * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data 00028 * 00029 * Revision 1.6 2009/10/29 17:17:28 amodigli 00030 * added param to specify if red cdd is new/old 00031 * 00032 * Revision 1.5 2007/06/06 08:17:33 amodigli 00033 * replace tab with 4 spaces 00034 * 00035 * Revision 1.4 2007/04/24 12:50:29 jmlarsen 00036 * Replaced cpl_propertylist -> uves_propertylist which is much faster 00037 * 00038 * Revision 1.3 2007/01/10 12:35:57 jmlarsen 00039 * Added uves_get_badpix 00040 * 00041 * Revision 1.2 2006/07/03 12:58:34 jmlarsen 00042 * Support flagging instead of interpolating bad pixels 00043 * 00044 * Revision 1.1 2005/11/11 13:18:54 jmlarsen 00045 * Reorganized code, renamed source files 00046 * 00047 */ 00048 #ifndef UVES_CORRBADPIX_H 00049 #define UVES_CORRBADPIX_H 00050 00051 #include <uves_propertylist.h> 00052 #include <uves_chip.h> 00053 #include <cpl.h> 00054 00055 int uves_correct_badpix_all(cpl_image *master_bias, uves_propertylist *mbias_header, 00056 enum uves_chip chip, 00057 int binx, int biny, int mark_bad, bool red_ccd_new); 00058 00059 int ** 00060 uves_get_badpix(enum uves_chip, 00061 int binx, int biny, int mark_bad,bool uves_ccd_new); 00062 00063 void 00064 uves_badmap_free(int ***badmap); 00065 00066 #endif