00001 /* $Id: xsh_blaze.h,v 1.3 2011/12/02 14:15:28 amodigli Exp $ 00002 * 00003 * This file is part of the X-shooter Pipeline 00004 * Copyright (C) 2006 European Southern Observatory 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00019 */ 00020 00021 /* 00022 * $Author: amodigli $ 00023 * $Date: 2011/12/02 14:15:28 $ 00024 * $Revision: 1.3 $ 00025 * $Name: HEAD $ 00026 */ 00027 00028 #ifndef XSH_BLAZE_H 00029 #define XSH_BLAZE_H 00030 00031 /*----------------------------------------------------------------------------- 00032 Includes 00033 -----------------------------------------------------------------------------*/ 00034 #include <cpl.h> 00035 #include <xsh_error.h> 00036 #include <xsh_dfs.h> 00037 #include <xsh_utils.h> 00038 #include <xsh_data_pre.h> 00039 #include <xsh_data_rec.h> 00040 #include <xsh_data_instrument.h> 00041 #include <xsh_data_order.h> 00042 #include <xsh_data_dispersol.h> 00043 #include <xsh_parameters.h> 00044 #include <xsh_qc_handling.h> 00045 /*----------------------------------------------------------------------------- 00046 Defines 00047 -----------------------------------------------------------------------------*/ 00048 00049 00050 /*----------------------------------------------------------------------------- 00051 Typedefs 00052 -----------------------------------------------------------------------------*/ 00053 00054 /*----------------------------------------------------------------------------- 00055 Prototypes 00056 -----------------------------------------------------------------------------*/ 00057 #define MSE_LIMIT 1 00058 00059 cpl_frame *xsh_blaze_image( cpl_frame* masterflat_frame, 00060 cpl_frame *order_frame, xsh_instrument *instrument); 00061 00062 cpl_frame *xsh_divide_by_blaze( cpl_frame *pre_frame, cpl_frame *blaze_frame, 00063 xsh_instrument *instrument); 00064 00065 cpl_image* xsh_create_blaze( cpl_frame* masterflat_frame, 00066 xsh_order_list* order_list, xsh_instrument *instrument); 00067 00068 #endif