irplib_detmon.h

00001 /* $Id: irplib_detmon.h,v 1.15 2007/05/30 13:13:21 lbilbao Exp $
00002  *
00003  * This file is part of the irplib package
00004  * Copyright (C) 2002, 2003 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., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
00019  */
00020 
00021 /*
00022  * $Author: lbilbao $
00023  * $Date: 2007/05/30 13:13:21 $
00024  * $Revision: 1.15 $
00025  * $Name: uves-3_3_1 $
00026  */
00027 
00028 #ifndef IRPLIB_DETMON_H
00029 #define IRPLIB_DETMON_H
00030 
00031 /*----------------------------------------------------------------------------
00032                                    Includes
00033  ----------------------------------------------------------------------------*/
00034 
00035 #include <cpl.h>
00036 #if defined CPL_VERSION_CODE && CPL_VERSION_CODE >= CPL_VERSION(3, 1, 90)
00037 #include <cpl_fit.h>
00038 #endif
00039 
00040 /*----------------------------------------------------------------------------
00041                                    Prototypes
00042  ----------------------------------------------------------------------------*/
00043 
00044 
00045 /* A macro to generate the recipe description */
00046 #define irplib_detmon_get_description(RECIPE_NAME, PIPE_NAME,                  \
00047                                       DETMON_IR_LG_ON_RAW,                     \
00048                                       DETMON_IR_LG_OFF_RAW)                    \
00049     RECIPE_NAME " -- " PIPE_NAME " linearity/gain recipe for IR.\n"            \
00050     "The files listed in the Set Of Frames must be tagged:\n"                  \
00051     "the raw-on-file.fits  "DETMON_IR_LG_ON_RAW"  and\n"                       \
00052     "the raw-off-file.fits "DETMON_IR_LG_OFF_RAW"\n" 
00053 
00054 int irplib_detmon_lg(cpl_frameset            *,
00055                         const cpl_parameterlist *,
00056                         const char              *,
00057                         const char              *,
00058                         const char              *,
00059                         const char              *,
00060                         const char              *, 
00061                         const char              *, 
00062                         const char              *, 
00063                         const char              *, 
00064                         const char              *,
00065                         int                     (*)(const cpl_frame *,
00066                                                     const cpl_frame *),
00067                         const cpl_boolean              );
00068 
00069 cpl_image * irplib_detmon_image_correlate(const cpl_image   *,
00070                       const cpl_image   *,
00071                       const int              ,
00072                       const int              );
00073 
00074 int irplib_detmon_fill_params(cpl_parameterlist * parlist,
00075                               const char        * recipe_name,
00076                               const char        * pipeline_name);
00077 
00078 #endif

Generated on Tue Jun 19 14:39:14 2007 for UVES Pipeline Reference Manual by  doxygen 1.4.6