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