X-shooter Pipeline Reference Manual 3.8.15
xsh_blaze.h
Go to the documentation of this file.
1/* $Id: xsh_blaze.h,v 1.3 2011-12-02 14:15:28 amodigli Exp $
2 *
3 * This file is part of the X-shooter Pipeline
4 * Copyright (C) 2006 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21/*
22 * $Author: amodigli $
23 * $Date: 2011-12-02 14:15:28 $
24 * $Revision: 1.3 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef XSH_BLAZE_H
29#define XSH_BLAZE_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34#include <cpl.h>
35#include <xsh_error.h>
36#include <xsh_dfs.h>
37#include <xsh_utils.h>
38#include <xsh_data_pre.h>
39#include <xsh_data_rec.h>
40#include <xsh_data_instrument.h>
41#include <xsh_data_order.h>
42#include <xsh_data_dispersol.h>
43#include <xsh_parameters.h>
44#include <xsh_qc_handling.h>
45/*-----------------------------------------------------------------------------
46 Defines
47 -----------------------------------------------------------------------------*/
48
49
50/*-----------------------------------------------------------------------------
51 Typedefs
52 -----------------------------------------------------------------------------*/
53
54/*-----------------------------------------------------------------------------
55 Prototypes
56 -----------------------------------------------------------------------------*/
57#define MSE_LIMIT 1
58
59cpl_frame *xsh_blaze_image( cpl_frame* masterflat_frame,
60 cpl_frame *order_frame, xsh_instrument *instrument);
61
62cpl_frame *xsh_divide_by_blaze( cpl_frame *pre_frame, cpl_frame *blaze_frame,
64
65cpl_image* xsh_create_blaze( cpl_frame* masterflat_frame,
67
68#endif
static xsh_instrument * instrument
cpl_frame * xsh_divide_by_blaze(cpl_frame *pre_frame, cpl_frame *blaze_frame, xsh_instrument *instrument)
Divide a pre image by the blaze image.
Definition: xsh_blaze.c:71
cpl_image * xsh_create_blaze(cpl_frame *masterflat_frame, xsh_order_list *order_list, xsh_instrument *instrument)
Normalize a master flat frame order by order.
Definition: xsh_blaze.c:197
cpl_frame * xsh_blaze_image(cpl_frame *masterflat_frame, cpl_frame *order_frame, xsh_instrument *instrument)
Normalize a master flat frame order by order.
Definition: xsh_blaze.c:143