00001 /* $Id: sinfoni_general_config.c,v 1.5 2005/02/10 13:16: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: 2005/02/10 13:16:45 $ 00023 * $Revision: 1.5 $ 00024 * $Name: $ 00025 */ 00026 00027 /**************************************************************** 00028 * Bad pixel search (normal method) * 00029 ****************************************************************/ 00030 00031 00032 00033 #include "sinfoni_general_config.h" 00034 00053 /* General data reduction parameters */ 00054 00055 void 00056 sinfoni_general_config_add(cpl_parameterlist *list) 00057 { 00058 00059 cpl_parameter *p; 00060 00061 if (!list) { 00062 return; 00063 } 00064 00065 /* indicates if parameters will be overwritten */ 00066 p = cpl_parameter_new_value("sinfoni.general.overwrite_parameters", 00067 CPL_TYPE_BOOL, 00068 "Overwrite DRS ini parameters: ", 00069 "sinfoni.general", 00070 TRUE); 00071 00072 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI, "gen-overpar"); 00073 cpl_parameterlist_append(list, p); 00074 00075 00076 return; 00077 00078 }
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001