00001 /* $Id: sinfo_psf_config.c,v 1.5 2012/03/03 09:50:08 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/03 09:50:08 $ 00023 * $Revision: 1.5 $ 00024 * $Name: HEAD $ 00025 */ 00026 00027 /**************************************************************** 00028 * Psf Frames Data Reduction Parameter Initialization * 00029 ****************************************************************/ 00030 #ifdef HAVE_CONFIG_H 00031 # include <config.h> 00032 #endif 00033 00034 #include "sinfo_psf_config.h" 00049 void 00050 sinfo_psf_config_add(cpl_parameterlist *list) 00051 { 00052 00053 cpl_parameter *p; 00054 if (!list) { 00055 return; 00056 } 00057 00058 /* Input file name */ 00059 00060 p = cpl_parameter_new_value("sinfoni.psf.switch", 00061 CPL_TYPE_BOOL, 00062 "Switch to activate PSF-related " 00063 "(Strehl/Encircled energy) computation", 00064 "sinfoni.psf", 00065 TRUE); 00066 00067 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"psf-switch"); 00068 cpl_parameterlist_append(list, p); 00069 00070 00071 00072 }