sinfo_bp_config.c

00001 /* $Id: sinfo_bp_config.c,v 1.5 2012/03/02 08:42:20 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: 2012/03/02 08:42:20 $
00023  * $Revision: 1.5 $
00024  * $Name: HEAD $
00025  */
00026 
00027 #ifdef HAVE_CONFIG_H
00028 #  include <config.h>
00029 #endif
00030  /****************************************************************
00031   *           Bad pixel search                                   *
00032   ****************************************************************/
00033 
00034 #include "sinfo_bp_config.h"
00053   /* Bad pixel parameters */
00054 
00055 void
00056  sinfo_bp_config_add(cpl_parameterlist *list)
00057 {
00058 
00059   cpl_parameter *p;
00060 
00061   if (!list) {
00062     return;
00063   }
00064 
00065   /* indicates which method will be used */
00066   p = cpl_parameter_new_enum("sinfoni.bp.method",
00067                   CPL_TYPE_STRING,
00068                               "Data reduction method: ",
00069                               "sinfoni.general_noise",
00070                               "Normal",
00071                               3,
00072                               "Normal","Linear","Noise");
00073 
00074 
00075   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI, "bp-method");
00076   cpl_parameterlist_append(list, p);
00077 
00078   return;
00079 
00080 }

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1