Changeset 30105
- Timestamp:
- Dec 17, 2010, 10:07:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101205/ppImage/src/ppImageOptions.c
r29926 r30105 216 216 217 217 // for these images, even if not required otherwise 218 options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD");219 options->doMaskSat = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED");220 options->doMaskLow = psMetadataLookupBool(NULL, recipe, "MASK.LOW");221 options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL");218 options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD"); 219 options->doMaskSat = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED"); 220 options->doMaskLow = psMetadataLookupBool(NULL, recipe, "MASK.LOW"); 221 options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL"); 222 222 options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD"); 223 223 … … 313 313 */ 314 314 315 // even if not requested explicitly, if any of these are set, build an internal mask and variance: 316 // XXX we used to automatically generate a mask in all of these cases. 317 // if (options->doNoiseMap || options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat || options->doPhotom) { 318 // options->doMaskBuild = true; 319 // options->doVarianceBuild = true; 320 // } 321 315 // if the variance image is requested, build it (if not supplied) 316 if (options->BaseVarianceFITS || options->ChipVarianceFITS) { 317 options->doVarianceBuild = true; 318 } 322 319 // photometry and noisemap both require a variance image 323 320 if (options->doNoiseMap || options->doPhotom) { … … 325 322 } 326 323 324 // we need a mask if we are going to apply these things: 325 if (options->doMaskSat || options->doMaskLow || options->doMaskBurntool || options->doMaskStats) { 326 options->doMaskBuild = true; 327 } 327 328 // photometry, mask, and background all require a mask image 328 329 if (options->doMask || options->doBG || options->doPhotom) {
Note:
See TracChangeset
for help on using the changeset viewer.
