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,
00079 "bp_noise-thresh_sigma_fct");
00080 cpl_parameterlist_append(list, p);
00081
00082
00083
00084
00085
00086
00087 p = cpl_parameter_new_range("sinfoni.bp_noise.low_rejection",
00088 CPL_TYPE_DOUBLE,
00089 "low_rejection: "
00090 "percentage of rejected low intensity "
00091 "pixels before averaging",
00092 "sinfoni.bp_noise",
00093 10.,0.,100.);
00094
00095 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_noise-lo_rej");
00096 cpl_parameterlist_append(list, p);
00097
00098
00099
00100
00101
00102
00103 p = cpl_parameter_new_range("sinfoni.bp_noise.high_rejection",
00104 CPL_TYPE_DOUBLE,
00105 "high_rejection: "
00106 "percentage of rejected high intensity "
00107 "pixels before averaging",
00108 "sinfoni.bp_noise",
00109 10.,0.,100.);
00110
00111 cpl_parameter_set_alias(p, CPL_PARAMETER_MODE_CLI,"bp_noise-hi_rej");
00112 cpl_parameterlist_append(list, p);
00113
00114 return;
00115
00116 }