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 #include "sinfoni_north_south_test_config.h"
00032
00033 void
00034 sinfoni_north_south_test_config_add(cpl_parameterlist *list)
00035 {
00036
00037 cpl_parameter *p;
00038
00039 if (!list) {
00040 return;
00041 }
00042
00043 p = cpl_parameter_new_range("sinfoni.north_south_test.low_rejection",
00044 CPL_TYPE_DOUBLE,
00045 "lower rejection: "
00046 "percentage of rejected low intensity pixels "
00047 "before averaging",
00048 "sinfoni.north_south_test",
00049 0.1,0.0,1.0);
00050
00051 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-lo_rej");
00052 cpl_parameterlist_append(list, p);
00053
00054 p = cpl_parameter_new_range("sinfoni.north_south_test.high_rejection",
00055 CPL_TYPE_DOUBLE,
00056 "higher rejection: "
00057 "percentage of rejected high intensity pixels "
00058 "before averaging",
00059 "sinfoni.north_south_test",
00060 0.1,0.0,1.0);
00061
00062 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-hi_rej");
00063 cpl_parameterlist_append(list, p);
00064
00065
00066 p = cpl_parameter_new_value("sinfoni.north_south_test.mask_ind",
00067 CPL_TYPE_BOOL,
00068 "Mask Index: "
00069 "indicator if a bad pixel mask is applied or not",
00070 "sinfoni.north_south_test",
00071 FALSE);
00072
00073 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-mask_ind");
00074 cpl_parameterlist_append(list, p);
00075
00076
00077
00078
00079 p = cpl_parameter_new_value("sinfoni.north_south_test.gauss_ind",
00080 CPL_TYPE_BOOL,
00081 "Gauss Index: ",
00082 "sinfoni.north_south_test",
00083 FALSE);
00084
00085 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-gauss_ind");
00086 cpl_parameterlist_append(list, p);
00087
00088 p = cpl_parameter_new_value("sinfoni.north_south_test.kernel_half_width",
00089 CPL_TYPE_INT,
00090 "Kernel Half Width "
00091 "kernel half width of the Gaussian "
00092 "response function",
00093 "sinfoni.north_south_test",
00094 2);
00095
00096 cpl_parameter_set_alias(p,CPL_PARAMETER_MODE_CLI, "ns-khw");
00097 cpl_parameterlist_append(list, p);
00098
00099
00100
00101
00102
00103
00104 p = cpl_parameter_new_value("sinfoni.north_south_test.half_width",
00105 CPL_TYPE_INT,
00106 "Half Width",
00107 "sinfoni.north_south_test",
00108 4);
00109
00110 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-hw");
00111 cpl_parameterlist_append(list, p);
00112
00113 p = cpl_parameter_new_value("sinfoni.north_south_test.fwhm",
00114 CPL_TYPE_DOUBLE,
00115 "FWHM",
00116 "sinfoni.north_south_test",
00117 2.);
00118
00119 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-fwhm");
00120 cpl_parameterlist_append(list, p);
00121
00122
00123 p = cpl_parameter_new_value("sinfoni.north_south_test.min_diff",
00124 CPL_TYPE_DOUBLE,
00125 "Minimum of Difference",
00126 "sinfoni.north_south_test",
00127 1.);
00128
00129 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-min_diff");
00130 cpl_parameterlist_append(list, p);
00131
00132
00133
00134 p = cpl_parameter_new_value("sinfoni.north_south_test.dev_tol",
00135 CPL_TYPE_DOUBLE,
00136 "Dev Tol",
00137 "sinfoni.north_south_test",
00138 20.);
00139
00140
00141 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"ns-dev_tol");
00142 cpl_parameterlist_append(list, p);
00143
00144
00145
00146 }