00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifdef HAVE_CONFIG_H
00032 # include <config.h>
00033 #endif
00034 #include "sinfo_north_south_test_config.h"
00049 void
00050 sinfo_north_south_test_config_add(cpl_parameterlist *list)
00051 {
00052
00053 cpl_parameter *p;
00054
00055 if (!list) {
00056 return;
00057 }
00058
00059 p = cpl_parameter_new_range("sinfoni.north_south_test.low_rejection",
00060 CPL_TYPE_DOUBLE,
00061 "lower rejection: "
00062 "percentage of rejected low intensity pixels "
00063 "before averaging",
00064 "sinfoni.north_south_test",
00065 0.1,0.0,1.0);
00066
00067 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-lo_rej");
00068 cpl_parameterlist_append(list, p);
00069
00070 p = cpl_parameter_new_range("sinfoni.north_south_test.high_rejection",
00071 CPL_TYPE_DOUBLE,
00072 "higher rejection: "
00073 "percentage of rejected high intensity pixels "
00074 "before averaging",
00075 "sinfoni.north_south_test",
00076 0.1,0.0,1.0);
00077
00078 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-hi_rej");
00079 cpl_parameterlist_append(list, p);
00080
00081
00082 p = cpl_parameter_new_value("sinfoni.north_south_test.mask_ind",
00083 CPL_TYPE_BOOL,
00084 "Mask Index: "
00085 "indicator if a bad pixel mask is applied or not",
00086 "sinfoni.north_south_test",
00087 FALSE);
00088
00089 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-mask_ind");
00090 cpl_parameterlist_append(list, p);
00091
00092
00093
00094
00095 p = cpl_parameter_new_value("sinfoni.north_south_test.gauss_ind",
00096 CPL_TYPE_BOOL,
00097 "Gauss Index: ",
00098 "sinfoni.north_south_test",
00099 FALSE);
00100
00101 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-gauss_ind");
00102 cpl_parameterlist_append(list, p);
00103
00104 p = cpl_parameter_new_value("sinfoni.north_south_test.kernel_half_width",
00105 CPL_TYPE_INT,
00106 "Kernel Half Width "
00107 "kernel half width of the Gaussian "
00108 "response function",
00109 "sinfoni.north_south_test",
00110 2);
00111
00112 cpl_parameter_set_alias(p,CPL_PARAMETER_MODE_CLI, "ns-khw");
00113 cpl_parameterlist_append(list, p);
00114
00115
00116
00117
00118
00119
00120 p = cpl_parameter_new_value("sinfoni.north_south_test.half_width",
00121 CPL_TYPE_INT,
00122 "Half Width",
00123 "sinfoni.north_south_test",
00124 4);
00125
00126 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-hw");
00127 cpl_parameterlist_append(list, p);
00128
00129 p = cpl_parameter_new_value("sinfoni.north_south_test.fwhm",
00130 CPL_TYPE_DOUBLE,
00131 "FWHM",
00132 "sinfoni.north_south_test",
00133 2.);
00134
00135 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-fwhm");
00136 cpl_parameterlist_append(list, p);
00137
00138
00139 p = cpl_parameter_new_value("sinfoni.north_south_test.min_diff",
00140 CPL_TYPE_DOUBLE,
00141 "Minimum of Difference",
00142 "sinfoni.north_south_test",
00143 1.);
00144
00145 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-min_diff");
00146 cpl_parameterlist_append(list, p);
00147
00148
00149
00150 p = cpl_parameter_new_value("sinfoni.north_south_test.dev_tol",
00151 CPL_TYPE_DOUBLE,
00152 "Dev Tol",
00153 "sinfoni.north_south_test",
00154 20.);
00155
00156
00157 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-dev_tol");
00158 cpl_parameterlist_append(list, p);
00159
00160
00161
00162 }