CR2RE Pipeline Reference Manual 1.6.8
irplib_calib.h
1/* $Id: irplib_calib.h,v 1.8 2007-02-12 10:34:51 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: 2007-02-12 10:34:51 $
24 * $Revision: 1.8 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef IRPLIB_CALIB_H
29#define IRPLIB_CALIB_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36
37/*-----------------------------------------------------------------------------
38 Function prototypes
39 -----------------------------------------------------------------------------*/
40
41cpl_table*
43 cpl_frameset* son,
44 cpl_frameset* sof,
45 int* zone1,
46 const int kappa1,
47 const int nclip1) CPL_ATTR_ALLOC;
48
49cpl_table* irplib_compute_linearity(cpl_frameset* son, cpl_frameset* sof)
50 CPL_ATTR_ALLOC;
51
52int irplib_flat_dark_bpm_calib(cpl_imagelist *, const char *, const char *,
53 const char *);
54int irplib_detlin_correct(cpl_imagelist *, const char *, const char *,
55 const char *);
56
57#endif
cpl_table * irplib_compute_gain(cpl_frameset *son, cpl_frameset *sof, int *zone1, const int kappa1, const int nclip1) CPL_ATTR_ALLOC
Computes the detector's gain.
Definition: irplib_calib.c:203
cpl_table * irplib_compute_linearity(cpl_frameset *son, cpl_frameset *sof) CPL_ATTR_ALLOC
Computes the detector's linearity.
Definition: irplib_calib.c:386
int irplib_flat_dark_bpm_calib(cpl_imagelist *, const char *, const char *, const char *)
Apply the calibration to the frames.
Definition: irplib_calib.c:594
int irplib_detlin_correct(cpl_imagelist *, const char *, const char *, const char *)
Apply the detector linearity correction.
Definition: irplib_calib.c:509