UVES Pipeline Reference Manual  5.4.6
uves_corrbadpix.h
1 /*
2  * This file is part of the ESO UVES Pipeline
3  * Copyright (C) 2004,2005 European Southern Observatory
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18  */
19 
20 /*
21  * $Author: amodigli $
22  * $Date: 2010-09-24 09:32:02 $
23  * $Revision: 1.8 $
24  * $Name: not supported by cvs2svn $
25  * $Log: not supported by cvs2svn $
26  * Revision 1.6 2009/10/29 17:17:28 amodigli
27  * added param to specify if red cdd is new/old
28  *
29  * Revision 1.5 2007/06/06 08:17:33 amodigli
30  * replace tab with 4 spaces
31  *
32  * Revision 1.4 2007/04/24 12:50:29 jmlarsen
33  * Replaced cpl_propertylist -> uves_propertylist which is much faster
34  *
35  * Revision 1.3 2007/01/10 12:35:57 jmlarsen
36  * Added uves_get_badpix
37  *
38  * Revision 1.2 2006/07/03 12:58:34 jmlarsen
39  * Support flagging instead of interpolating bad pixels
40  *
41  * Revision 1.1 2005/11/11 13:18:54 jmlarsen
42  * Reorganized code, renamed source files
43  *
44  */
45 #ifndef UVES_CORRBADPIX_H
46 #define UVES_CORRBADPIX_H
47 
48 #include <uves_propertylist.h>
49 #include <uves_chip.h>
50 #include <cpl.h>
51 
52 int uves_correct_badpix_all(cpl_image *master_bias, uves_propertylist *mbias_header,
53  enum uves_chip chip,
54  int binx, int biny, int mark_bad, bool red_ccd_new);
55 
56 int **
57 uves_get_badpix(enum uves_chip,
58  int binx, int biny, int mark_bad,bool uves_ccd_new);
59 
60 void
61 uves_badmap_free(int ***badmap);
62 
63 #endif
void uves_badmap_free(int ***badmap)
Deallocate bpm position.
int ** uves_get_badpix(enum uves_chip, int binx, int biny, int mark_bad, bool uves_ccd_new)
Get hard-coded bpm map.
int uves_correct_badpix_all(cpl_image *master_bias, uves_propertylist *mbias_header, enum uves_chip chip, int binx, int biny, int mark_bad, bool red_ccd_new)
Correct all bad pixels on a chip.