High-Level Data Reduction Library: hdrl_overscan_defs.h Source File

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
hdrl_overscan_defs.h
Go to the documentation of this file.
1/*
2 * This file is part of the HDRL
3 * Copyright (C) 2013 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, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef HDRL_OVERSCAN_DEFS_H
21#define HDRL_OVERSCAN_DEFS_H
22
23#ifndef HDRL_USE_PRIVATE
24#error This file is not allowed to be included outside of hdrl
25#endif
26
27#include "hdrl_types.h"
28#include "hdrl_image.h"
29#include <cpl.h>
30
31CPL_BEGIN_DECLS
32
35/*----------------------------------------------------------------------------*/
40/*----------------------------------------------------------------------------*/
41 struct _hdrl_overscan_compute_result_
42{
44 hdrl_direction correction_direction;
46 hdrl_image * correction;
48 cpl_image * contribution;
50 cpl_image * chi2;
52 cpl_image * red_chi2;
55 cpl_image * sigclip_reject_low;
58 cpl_image * sigclip_reject_high;
59};
60
61/*----------------------------------------------------------------------------*/
66/*----------------------------------------------------------------------------*/
67 struct _hdrl_overscan_correct_result_
68{
70 hdrl_image * corrected;
72 cpl_image * badmask;
73};
74
77CPL_END_DECLS
78
79#endif
hdrl_types.h
hdrl_image.h
hdrl_direction
hdrl_direction
Define an image direction e.g along X or Y.
Definition hdrl_utils.h:55
_hdrl_image_
Definition hdrl_image_defs.h:40