ERIS Pipeline Reference Manual 1.8.15
eris_ifu_detlin_static.h
1/* $Id$
2 *
3 * This file is part of the ERIS Pipeline
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 02110-1301 USA
19 */
20
21#ifndef ERISP_ERIS_ERIS_IFU_DETLIN_STATIC_H_
22#define ERISP_ERIS_ERIS_IFU_DETLIN_STATIC_H_
23
24#ifdef HAVE_CONFIG_H
25#include <config.h>
26#endif
27
28#include <cpl.h>
29#include <hdrl.h>
30#define ERIS_QC_LIN_COEF_C "Linearity coefficient value"
31#define ERIS_QC_LIN_COEF_ERR_C "Linearity coefficient error value"
32cpl_error_code eris_ifu_detlin_load_frames(const cpl_frameset *frameset,
33 int exposureCorrectionMode,
34 hdrl_imagelist **hdrl_imglist_on,
35 hdrl_imagelist **hdrl_imglist_off,
36 cpl_vector **vec_dit_on,
37 cpl_vector **vec_dit_off);
38
39//cpl_table* eris_ifu_detlin_compute_linearity_old(
40// const hdrl_imagelist *hdrl_imglist_on,
41// const hdrl_imagelist *hdrl_imglist_off,
42// const cpl_vector *vec_dit);
43
44cpl_image *eris_ifu_detlin_compute_linearity(const cpl_parameterlist *parlist,
45 const hdrl_imagelist *imglist,
46 const cpl_vector *vec_dit,
47 cpl_propertylist* qclog);
48
49cpl_mask* eris_ifu_detlin_filter_mask(const cpl_mask *bpm,
50 const cpl_parameterlist *parlist);
51
52cpl_table* eris_compute_gain(cpl_frameset* frameset);
53#endif /* ERISP_ERIS_ERIS_IFU_DETLIN_STATIC_H_ */
cpl_mask * eris_ifu_detlin_filter_mask(const cpl_mask *bpm, const cpl_parameterlist *parlist)
Apply morphological filtering to a bad pixel mask.
cpl_error_code eris_ifu_detlin_load_frames(const cpl_frameset *frameset, int exposureCorrectionMode, hdrl_imagelist **hdrl_imglist_on, hdrl_imagelist **hdrl_imglist_off, cpl_vector **vec_dit_on, cpl_vector **vec_dit_off)
Load linearity calibration frames from a frameset.
cpl_table * eris_compute_gain(cpl_frameset *frameset)
Compute detector gain from linearity frames.
cpl_image * eris_ifu_detlin_compute_linearity(const cpl_parameterlist *parlist, const hdrl_imagelist *imglist, const cpl_vector *vec_dit, cpl_propertylist *qclog)
Compute detector linearity bad pixel map.