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