sinfoni_lamp_flats_hidden_config.c

00001 /* $Id: sinfoni_lamp_flats_hidden_config.c,v 1.2 2005/04/20 07:08:33 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: 2005/04/20 07:08:33 $
00023  * $Revision: 1.2 $
00024  * $Name:  $
00025  */
00026 
00027  /****************************************************************
00028   *   Lamp_Spec Frames Data Reduction Parameter Initialization        *
00029   ****************************************************************/
00030 
00031 #include "sinfoni_lamp_flats_hidden_config.h"
00032 
00033 void
00034  sinfoni_lamp_flats_hidden_config_add(cpl_parameterlist *list)
00035 {
00036 
00037   cpl_parameter *p;
00038 
00039   if (!list) {
00040     return;
00041   }
00042 
00043 
00044   /* Output file name */
00045 /* output name of resulting fits wavelength map */
00046   p = cpl_parameter_new_value("sinfoni.lamp_flats.output_filename",
00047                   CPL_TYPE_STRING,
00048                               "Output File Name: ",
00049                               "sinfoni.lamp_flats",
00050                               "out_flat.fits");
00051 
00052 
00053   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"out-lampflat_filename");
00054   cpl_parameterlist_append(list, p);
00055 
00056 
00057   /* name of the bad pixel mask fits file to be generated */
00058   p = cpl_parameter_new_value("sinfoni.lamp_flats.bp_mask_out",
00059                   CPL_TYPE_STRING,
00060                               "Output Bad pixel mask: "
00061                               "name of the bad pixel mask fits file to be "
00062                               "generated",
00063                               "sinfoni.lamp_flats",
00064                               "out_bpmask.fits");
00065 
00066 
00067   cpl_parameter_set_alias(p,  CPL_PARAMETER_MODE_CLI,"lamp_flats-bp_mask_out");
00068   cpl_parameterlist_append(list, p);
00069 
00070 
00071 
00072 
00073 
00074 }

Generated on Wed Oct 26 13:08:55 2005 for SINFONI Pipeline Reference Manual by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001