Changeset 29926 for trunk/ppImage/src/ppImageOptions.c
- Timestamp:
- Dec 5, 2010, 9:21:36 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageOptions.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageOptions.c
r29833 r29926 301 301 options->checkCTE = psMetadataLookupBool(NULL, recipe, "CHECK.CTE"); 302 302 303 /* doMaskBuild : there are some cases where we require a mask, so we force doMaskBuild to be set even if the user specified 'FALSE' 304 * 305 * doPhotom : a mask is required because it is used to mark the locations of stars 306 * 307 * doNoiseMap : no reason this needs to trigger a mask? 308 * doBias : no reason this needs to trigger a mask? 309 * doOverscan : no reason this needs to trigger a mask? 310 * doDark : no reason this needs to trigger a mask? 311 * doShutter : no reason this needs to trigger a mask? 312 * doFlat : no reason this needs to trigger a mask? 313 */ 314 303 315 // even if not requested explicitly, if any of these are set, build an internal mask and variance: 304 if (options->doNoiseMap || options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat || 305 options->doPhotom) { 306 options->doMaskBuild = true; 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 322 // photometry and noisemap both require a variance image 323 if (options->doNoiseMap || options->doPhotom) { 307 324 options->doVarianceBuild = true; 308 } else if (options->doMask || options->doBG) { 325 } 326 327 // photometry, mask, and background all require a mask image 328 if (options->doMask || options->doBG || options->doPhotom) { 309 329 options->doMaskBuild = true; 310 330 }
Note:
See TracChangeset
for help on using the changeset viewer.
