uves_response_efficiency.h

00001 /*                                                                              *
00002  *   This file is part of the ESO UVES  Pipeline                                *
00003  *   Copyright (C) 2004,2005 European Southern Observatory                      *
00004  *                                                                              *
00005  *   This library is free software; you can redistribute it and/or modify       *
00006  *   it under the terms of the GNU General Public License as published by       *
00007  *   the Free Software Foundation; either version 2 of the License, or          *
00008  *   (at your option) any later version.                                        *
00009  *                                                                              *
00010  *   This program is distributed in the hope that it will be useful,            *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of             *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              *
00013  *   GNU General Public License for more details.                               *
00014  *                                                                              *
00015  *   You should have received a copy of the GNU General Public License          *
00016  *   along with this program; if not, write to the Free Software                *
00017  *   Foundation, 51 Franklin St, Fifth Floor, Boston, MA  02111-1307  USA       *
00018  *                                                                              */
00019 
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2011/12/08 14:02:01 $
00023  * $Revision: 1.12 $
00024  * $Name: uves-5_0_0 $
00025  * $Log: uves_response_efficiency.h,v $
00026  * Revision 1.12  2011/12/08 14:02:01  amodigli
00027  * include uves_cpl_size.h for CPL6
00028  *
00029  * Revision 1.11  2010/09/24 09:32:07  amodigli
00030  * put back QFITS dependency to fix problem spot by NRI on FIBER mode (with MIDAS calibs) data
00031  *
00032  * Revision 1.9  2007/06/06 08:17:33  amodigli
00033  * replace tab with 4 spaces
00034  *
00035  * Revision 1.8  2007/05/22 11:44:34  jmlarsen
00036  * Removed MIDAS flag for good
00037  *
00038  * Revision 1.7  2007/05/03 15:24:58  jmlarsen
00039  * Fixed const bugs
00040  *
00041  * Revision 1.6  2007/04/24 12:50:29  jmlarsen
00042  * Replaced cpl_propertylist -> uves_propertylist which is much faster
00043  *
00044  * Revision 1.5  2007/01/29 12:13:29  jmlarsen
00045  * Calculate extraction slit length
00046  *
00047  * Revision 1.4  2006/11/06 15:19:42  jmlarsen
00048  * Removed unused include directives
00049  *
00050  * Revision 1.3  2006/11/03 15:01:21  jmlarsen
00051  * Killed UVES 3d table module and use CPL 3d tables
00052  *
00053  * Revision 1.2  2006/05/16 12:13:07  amodigli
00054  * added QC log
00055  *
00056  * Revision 1.1  2006/02/03 07:51:04  jmlarsen
00057  * Moved recipe implementations to ./uves directory
00058  *
00059  * Revision 1.7  2005/12/20 08:11:44  jmlarsen
00060  * Added CVS  entry
00061  *
00062  */
00063 #ifndef UVES_RESPONSE_EFFICIENCY_H
00064 #define UVES_RESPONSE_EFFICIENCY_H
00065 #include <uves_cpl_size.h>
00066 #include <uves_utils_polynomial.h>
00067 #include <uves_chip.h>
00068 
00069 #include <cpl.h>
00070 
00071 #include <stdbool.h>
00072 
00073 cpl_error_code
00074 uves_response_efficiency(const cpl_image *raw_image, 
00075                          const uves_propertylist *raw_header, 
00076                          const uves_propertylist *rotated_header,
00077              const cpl_image *master_bias,
00078              const cpl_image *master_dark, 
00079                          const uves_propertylist *mdark_header, 
00080              const cpl_table *ordertable, 
00081                          const polynomial *order_locations,
00082              const cpl_table *linetable[3], 
00083                          const uves_propertylist *linetable_header[3], 
00084                          const polynomial *dispersion_relation[3],
00085              const cpl_table *flux_table,
00086              const cpl_table *atm_extinction,
00087              enum uves_chip chip,
00088                          bool DEBUG,
00089              const cpl_parameterlist *parameters,
00090              /* Identification */
00091              double PACCURACY,
00092              /* Output */
00093              cpl_table **efficiency,
00094              cpl_table **blaze_efficiency);
00095 
00096 #endif /* UVES_RESPONSE_EFFICIENCY_H */

Generated on 9 Mar 2012 for UVES Pipeline Reference Manual by  doxygen 1.6.1