sinfoni_standard_star_config.c

00001 /* $Id: sinfoni_standard_star_config.c,v 1.26 2005/10/18 10:17:16 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/10/18 10:17:16 $
00023  * $Revision: 1.26 $
00024  * $Name:  $
00025  */
00026 
00027  /****************************************************************
00028   *   Standard_Star Frames Data Reduction Parameter Initialization        *
00029   ****************************************************************/
00030 
00031 #include "sinfoni_standard_star_config.h"
00032 
00033 void
00034  sinfoni_standard_star_config_add(cpl_parameterlist *list)
00035 {
00036 
00037   cpl_parameter *p;
00038 
00039   if (!list) {
00040     return;
00041   }
00042 
00043 
00044 /*
00045   --------------------------------------------------------------------------
00046   In/Out  
00047   --------------------------------------------------------------------------
00048  */
00049 
00050   /* switch to generate the extracted spectrum */
00051   /*
00052   p = cpl_parameter_new_value("sinfoni.std_star.qc_info",
00053                   CPL_TYPE_BOOL,
00054                               "Switch to activate extra QC information together with the spectrum",
00055                               "sinfoni.std_star",
00056                               FALSE);
00057 
00058   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"std_star-qc_info");
00059   cpl_parameterlist_append(list, p);
00060   */
00061 
00062 
00063 
00064 /* the fraction [0...1] of rejected low intensity pixels when taking 
00065 the average of columns */
00066   p = cpl_parameter_new_value("sinfoni.std_star.low_rejection",
00067                   CPL_TYPE_DOUBLE,
00068                               "lower rejection",
00069                               "sinfoni.std_star",
00070                               0.1);
00071 
00072   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"std_star-lo_rej");
00073   cpl_parameterlist_append(list, p);
00074 
00075  /* the fraction [0...1] of rejected high intensity pixels when taking 
00076 the average of columns */
00077   p = cpl_parameter_new_value("sinfoni.std_star.high_rejection",
00078                   CPL_TYPE_DOUBLE,
00079                               "high rejection",
00080                               "sinfoni.std_star",
00081                               0.1);
00082 
00083   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"std_star-hi_rej");
00084   cpl_parameterlist_append(list, p);
00085 
00086 
00087 /* factor applied to the found fwhms of a 2D-Gaussian fit, defines the radius 
00088    of the aperture inside which the spectral extraction is carried out.
00089  */
00090   p = cpl_parameter_new_value("sinfoni.std_star.fwhm_factor",
00091                   CPL_TYPE_DOUBLE,
00092                               "Factor to find 2D-Gauss FWHM. The extraction box is: "
00093                               "halfbox_x=halfbox_y=fwhm_factor*(fwhm_x+fwhm_y)*0.5",
00094                               "sinfoni.std_star",
00095                               5.0);
00096 
00097   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"std_star-fwhm_fct");
00098   cpl_parameterlist_append(list, p);
00099 
00100 
00101 /* indicator if the intensity conversion factor should be determined or not
00102  */
00103 
00104 
00105   p = cpl_parameter_new_value("sinfoni.std_star.conversion_index",
00106                   CPL_TYPE_BOOL,
00107                               "Intensity Conversion Index: ",
00108                               "sinfoni.std_star",
00109                               TRUE);
00110 
00111   cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"std_star-conv_ind");
00112   cpl_parameterlist_append(list, p);
00113 
00114 
00115 
00116 
00117 }

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