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 #ifdef HAVE_CONFIG_H
00028 # include <config.h>
00029 #endif
00030
00031
00032
00033
00034 #include "sinfo_bp_lin_config.h"
00035
00054
00055
00056 void
00057 sinfo_bp_lin_config_add(cpl_parameterlist *list)
00058 {
00059
00060 cpl_parameter *p;
00061
00062 if (!list) {
00063 return;
00064 }
00065
00066
00067
00068
00069 p = cpl_parameter_new_value("sinfoni.bp_lin.order",
00070 CPL_TYPE_INT,
00071 "Order: "
00072 "order of the fit polynomial = "
00073 "number of coefficents - 1",
00074 "sinfoni.bp_lin",
00075 2);
00076
00077 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_lin-order");
00078 cpl_parameterlist_append(list, p);
00079
00080
00081
00082 p = cpl_parameter_new_value("sinfoni.bp_lin.thresh_sigma_factor",
00083 CPL_TYPE_DOUBLE,
00084 "Threshold Sigma Factor: "
00085 "threshold factor of the clean standard "
00086 "deviation. If the deviations of the linear "
00087 "polynomial coefficients exceed this threshold "
00088 "the corresponding pixels are declared as bad ",
00089 "sinfoni.bp_noise",
00090 10.);
00091
00092 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_lin-thresh_sigma_fct");
00093 cpl_parameterlist_append(list, p);
00094
00095
00096
00097
00098
00099
00100 p = cpl_parameter_new_value("sinfoni.bp_lin.nlin_threshold",
00101 CPL_TYPE_DOUBLE,
00102 "Non Linear Threshold",
00103 "sinfoni.bp_lin",
00104 0.5);
00105
00106 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_lin-nlin_threshold");
00107 cpl_parameterlist_append(list, p);
00108
00109
00110
00111
00112
00113
00114
00115 p = cpl_parameter_new_range("sinfoni.bp_lin.low_rejection",
00116 CPL_TYPE_DOUBLE,
00117 "low_rejection: "
00118 "percentage of rejected low intensity "
00119 "pixels before averaging",
00120 "sinfoni.bp_lin",
00121 10.,
00122 0.,
00123 100.);
00124
00125 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_lin-lo_rej");
00126 cpl_parameterlist_append(list, p);
00127
00128
00129
00130
00131
00132
00133 p = cpl_parameter_new_range("sinfoni.bp_lin.high_rejection",
00134 CPL_TYPE_DOUBLE,
00135 "high_rejection: "
00136 "percentage of rejected high intensity "
00137 "pixels before averaging",
00138 "sinfoni.bp_lin",
00139 10.,0.,100.);
00140
00141 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_lin-hi_rej");
00142 cpl_parameterlist_append(list, p);
00143
00144
00145 return;
00146
00147 }