crires_recipe.h

00001 /* $Id: crires_recipe.h,v 1.6 2009/01/30 09:57:41 yjung Exp $
00002  *
00003  * This file is part of the CRIRES Pipeline
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: yjung $
00023  * $Date: 2009/01/30 09:57:41 $
00024  * $Revision: 1.6 $
00025  * $Name: crire-2_1_1 $
00026  */
00027 
00028 /* cpp macros that must be defined before inclusion:
00029 
00030    RECIPE_NAME:         e.g. crires_spec_jitter
00031    RECIPE_STRING:       e.g. "crires_spec_jitter"
00032    RECIPE_SYNOPSIS:     String with the recipe synopsis
00033    RECIPE_DESCRIPTION:  String with the recipe descrption
00034    Optionally:
00035    RECIPE_PARAMS:       Binary or of parameter enums
00036 
00037 */
00038 
00039 
00040 #ifndef CRIRES_RECIPE_H
00041 #define CRIRES_RECIPE_H
00042 
00043 /*-----------------------------------------------------------------------------
00044                                 Includes
00045  -----------------------------------------------------------------------------*/
00046 
00047 #include <math.h>
00048 #include <assert.h>
00049 #include <float.h>
00050 #include <string.h>
00051 
00052 #include <cpl.h>
00053 
00054 #include "irplib_plugin.h"
00055 #include "irplib_plot.h"
00056 #include "irplib_framelist.h"
00057 
00058 #include "crires_parameter.h"
00059 #include "crires_utils.h"
00060 #include "crires_load.h"
00061 #include "crires_pfits.h"
00062 #include "crires_dfs.h"
00063 
00064 /*-----------------------------------------------------------------------------
00065                                 Defines
00066  -----------------------------------------------------------------------------*/
00067 
00068 #define crires_pipe_id PACKAGE "/" PACKAGE_VERSION
00069 
00070 #define CRIRES_RECIPE_DEFINE(RECIPE_NAME, RECIPE_PARAMS, SYNOPSIS, DESCRIPTION)\
00071     CPL_RECIPE_DEFINE(RECIPE_NAME, CRIRES_BINARY_VERSION,                      \
00072     crires_parameter_set(recipe->parameters, #RECIPE_NAME, RECIPE_PARAMS),     \
00073     "Yves Jung", PACKAGE_BUGREPORT, "2002, 2003, 2005, 2008", SYNOPSIS,        \
00074     DESCRIPTION)
00075 
00076 #endif

Generated on 22 Mar 2011 for CRIRES Pipeline Reference Manual by  doxygen 1.6.1