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 #include "sinfo_bp_noise_config.h"
00052
00053
00054 void
00055 sinfo_bp_noise_config_add(cpl_parameterlist *list)
00056 {
00057
00058 cpl_parameter *p;
00059
00060 if (!list) {
00061 return;
00062 }
00063
00064
00065
00066
00067
00068 p = cpl_parameter_new_value("sinfoni.bp_noise.thresh_sigma_factor",
00069 CPL_TYPE_DOUBLE,
00070 "Threshold Sigma Factor: "
00071 "If the mean noise exceeds this "
00072 "threshold times the clean standard deviation "
00073 "of the clean mean the corresponding pixels "
00074 "are declared as bad ",
00075 "sinfoni.bp_noise",
00076 10.);
00077
00078 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_noise-thresh_sigma_fct");
00079 cpl_parameterlist_append(list, p);
00080
00081
00082
00083
00084
00085
00086 p = cpl_parameter_new_range("sinfoni.bp_noise.low_rejection",
00087 CPL_TYPE_DOUBLE,
00088 "low_rejection: "
00089 "percentage of rejected low intensity "
00090 "pixels before averaging",
00091 "sinfoni.bp_noise",
00092 10.,0.,100.);
00093
00094 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_noise-lo_rej");
00095 cpl_parameterlist_append(list, p);
00096
00097
00098
00099
00100
00101
00102 p = cpl_parameter_new_range("sinfoni.bp_noise.high_rejection",
00103 CPL_TYPE_DOUBLE,
00104 "high_rejection: "
00105 "percentage of rejected high intensity "
00106 "pixels before averaging",
00107 "sinfoni.bp_noise",
00108 10.,0.,100.);
00109
00110 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_noise-hi_rej");
00111 cpl_parameterlist_append(list, p);
00112
00113 return;
00114
00115 }