sinfo_lamp_flats_hidden_config.c

00001 /* $Id: sinfo_lamp_flats_hidden_config.c,v 1.4 2007/06/06 07:10:45 amodigli Exp $
00002  *
00003  * This file is part of the CPL (Common Pipeline Library)
00004  * Copyright (C) 2002 European Southern Observatory
00005  *
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * This library 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 GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 /*
00021  * $Author: amodigli $
00022  * $Date: 2007/06/06 07:10:45 $
00023  * $Revision: 1.4 $
00024  * $Name: sinfo-2_2_5 $
00025  */
00026 #ifdef HAVE_CONFIG_H
00027 #  include <config.h>
00028 #endif
00029 
00030  /****************************************************************
00031   *   Lamp_Spec Frames Data Reduction Parameter Initialization        *
00032   ****************************************************************/
00033 
00034 #include "sinfo_lamp_flats_hidden_config.h"
00043 void
00044  sinfoni_lamp_flats_hidden_config_add(cpl_parameterlist *list)
00045 {
00046 
00047   cpl_parameter *p;
00048 
00049   if (!list) {
00050     return;
00051   }
00052 
00053 
00054   /* Output file name */
00055 /* output name of resulting fits wavelength map */
00056   p = cpl_parameter_new_value("sinfoni.lamp_flats.output_filename",
00057                   CPL_TYPE_STRING,
00058                               "Output File Name: ",
00059                               "sinfoni.lamp_flats",
00060                               "out_flat.fits");
00061 
00062 
00063   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"out-lampflat_filename");
00064   cpl_parameterlist_append(list, p);
00065 
00066 
00067   /* name of the bad pixel mask fits file to be generated */
00068   p = cpl_parameter_new_value("sinfoni.lamp_flats.bp_mask_out",
00069                   CPL_TYPE_STRING,
00070                               "Output Bad pixel mask: "
00071                               "name of the bad pixel mask fits file to be "
00072                               "generated",
00073                               "sinfoni.lamp_flats",
00074                               "out_bpmask.fits");
00075 
00076 
00077   cpl_parameter_set_alias(p,  CPL_PARAMETER_MODE_CLI,"lamp_flats-bp_mask_out");
00078   cpl_parameterlist_append(list, p);
00079 
00080 
00081 
00082 
00083 
00084 }

Generated on 8 Mar 2011 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1