Changeset 9050
- Timestamp:
- Sep 28, 2006, 4:56:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/doc/ipptools/dettool.txt (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/ipptools/dettool.txt
r9042 r9050 60 60 to detProcessedImfiles: 61 61 62 dettool -addprocessed -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -uri <processed_uri> -recip <ppImage_recipe> - proc_bg <stat> -proc_bg_stdev <stat> -proc_bg_mean_stdev <stat> -b1_uri <binned1_uri> -b2_uri <binned2_uri>62 dettool -addprocessed -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -uri <processed_uri> -recip <ppImage_recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <binned1_uri> -b2_uri <binned2_uri> 63 63 64 64 In practise, the above "ppImage" and "dettool -addprocessed" commands … … 85 85 the imfile statistics) is added into the database for the exposure: 86 86 87 dettool -addprocessedexp -exp_id <exp_id> - proc_bg <stat> -proc_bg_stdev <stat> -proc_bg_mean_stdev <stat> -uri <jpeg_uri> -jpeg_uri <jpeg_uri>87 dettool -addprocessedexp -exp_id <exp_id> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -uri <jpeg_uri> -jpeg_uri <jpeg_uri> 88 88 89 89 In practise, the above "dettool -processed", "ppImage" and "dettool … … 125 125 126 126 Once the stack has been completed, "dettool -addstacked" adds a 127 stacked class_id and and optionally marks it for normalization: 128 129 dettool -addstacked [-pleasenormalize] -det_id <det_id> -iter <iter> -class_id <class_id> -recip <recipe> -uri <stacked_uri> -norm_bg <stat> -norm_bg_stdev <stat> -norm_bg_mean_stdev <stat> 130 131 The "-pleasenormalize" flag indicates that the normalisation steps are 132 to be performed (in the case of flat-fields); if this flag is missing, 133 then the normalisation steps are to be skipped and the stacked imfiles 134 are inserted in table of normalised imfiles. The statistics fields 135 have "norm" since these statistics will be used to determine the 136 normalisations. 127 stacked class_id: 128 129 dettool -addstacked -det_id <det_id> -iter <iter> -class_id <class_id> -recip <recipe> -uri <stacked_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> 137 130 138 131 In practise, the above three commands ("dettool -processed", "ppMerge" … … 155 148 156 149 This returns the complete list of processed imfiles for the specified 157 det_id, providing exposure id, class id, statistic, which we use in158 the normalisation:150 det_id, providing exposure id, class id, statistic, detrend type, 151 which we use in the normalisation: 159 152 160 153 ppNormCalc INPUT.mdc … … 175 168 "ppNorm" and "dettool -addnormstat") will be performed by a Perl 176 169 script, "detrend_norm_calc.pl". 170 171 If the detrend type is not suitable for normalisation, then 172 normalisation values of unity will be generated without solving the 173 matrix with ppNormCalc. 177 174 178 175 *** To do: possible upgrade path is to have "dettool -addnormstat" … … 193 190 detNormalizedImfile. 194 191 195 For each imfile, we apply the normalisation: 196 197 ppArith -file1 <in_uri> -operation * -constant <normalisation> -out <out_uri> 192 For each imfile, we apply the normalisation, generate binned images 193 and statistics: 194 195 ppNormApply -file <in_uri> <out_uri> -norm <normalisation> -stat <statictics_file> 198 196 199 197 The normalised imfile is then inserted into detNormalizedImfile: 200 198 201 dettool -addnormalizedimfile -det_id <det_id> -iter <iter> -class_id <class_id> -uri <out_uri> 199 dettool -addnormalizedimfile -det_id <det_id> -iter <iter> -class_id <class_id> -uri <out_uri> -b1_uri <b1_uri> -b2_uri <b2_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> 202 200 203 201 In practise, the above two commands ("ppArith" and "dettool … … 208 206 -------------------------------------------------------------------------------- 209 207 210 <<< Normalisation has completed. The skip introduced >>> 211 <<< by leaving out -pleasenormalize lands here. >>> 212 213 -------------------------------------------------------------------------------- 214 215 Pan-Tasks regularly runs: 216 217 dettool -stackedimfile 218 219 which returns a list of stack imfiles which have been normalised (or 220 had normalisation skipped). This includes the exposure id, class id 221 and uri. 222 223 For each imfile, we measure statistics and bin the images: 224 225 ppImage -file <in_uri> <out_uri> -recipe PPIMAGE PPIMAGE_BIN -stat <stats_file> 226 227 The resultant statistics and the binned images are pushed into the database: 228 229 dettool -addstackimfilesummary -exp_id <exp_id> -class_id <class_id> -b1_uri <b1_uri> -b2_uri <b2_uri> -stack_bg <stat> -stack_bg_stdev <stat> -stack_bg_mean_stdev <stat> 230 231 In practise, the above commands ("ppImage" and "dettool 232 -addnormimfilesummary") will be performed by a Perl script, 233 "detrend_poststack_imfile.pl". 234 235 -------------------------------------------------------------------------------- 236 237 Pan-Tasks regularly runs: 238 239 dettool -normalizedexp 208 Pan-Tasks regularly runs: 209 210 dettool -normexp 240 211 241 212 which returns a list of stack exposures which have had normalised … … 244 215 For each exposure, we get the list of component imfiles: 245 216 246 dettool - stackimfile -exp_id <exp_id>217 dettool -normimfile -exp_id <exp_id> 247 218 248 219 This includes the statistics (bg, bg_stdev, bg_mean_stdev) and the … … 254 225 The statistics and JPEG uri are pushed into the database: 255 226 256 dettool -add stackexpsummary -exp_id <exp_id> -jpeg1_uri <jpeg1_uri> -jpeg2_uri <jpeg2_uri> -norm_bg <stat> -norm_bg_stdev <stat> -norm_bg_mean_stdev <stat>227 dettool -addnormexp -exp_id <exp_id> -j1_uri <jpeg1_uri> -j2_uri <jpeg2_uri> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> 257 228 258 229 In practise, the above three commands ("dettool -stackimfile", 259 "ppImage" and "dettool -addnormexp summary") will be performed by a260 Perl script, "detrend_ poststack_exp.pl".230 "ppImage" and "dettool -addnormexp") will be performed by a 231 Perl script, "detrend_norm_exp.pl". 261 232 262 233 -------------------------------------------------------------------------------- … … 278 249 The residual is then inserted into the database: 279 250 280 dettool -addresidimfile -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -recip <recipe> - resid_bg <stat> -resid_bg_stdev <stat> -resid_bg_mean_stdev <stat> -b1_uri <b1_fits> -b2_uri <b2_fits>251 dettool -addresidimfile -det_id <det_id> -exp_id <exp_id> -class_id <class_id> -recip <recipe> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> -b1_uri <b1_fits> -b2_uri <b2_fits> 281 252 282 253 In practise, the above two commands ("ppImage" and "dettool … … 313 284 problems; these could be removed by other means): 314 285 315 dettool -addresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> -recip <recipe> - b1_uri <uri_jpeg1> -b2_uri <uri_jpeg2> -resid_bg <stat> -resid_bg_stdev <stat> -resid_bg_mean_stdev <stat> [-reject]286 dettool -addresidexp -det_id <det_id> -iter <iter> -exp_id <exp_id> -recip <recipe> -j1_uri <uri_jpeg1> -j2_uri <uri_jpeg2> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> [-reject] 316 287 317 288 where the "-reject" flag indicates that the exposure is not to be … … 350 321 iteration as a whole we can run: 351 322 352 dettool -adddetrunsummary -det_id <det_id> -iter <iter> - det_bg <stat> -det_bg_stdev <stat> -det_bg_mean_stdev <stat> [-accept]323 dettool -adddetrunsummary -det_id <det_id> -iter <iter> -bg <stat> -bg_stdev <stat> -bg_mean_stdev <stat> [-accept] 353 324 354 325 Which allows per detrend run iteration summary statics to be
Note:
See TracChangeset
for help on using the changeset viewer.
