Changeset 21364 for trunk/ppImage/src/ppImageOptions.c
- Timestamp:
- Feb 5, 2009, 4:36:52 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageOptions.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageOptions.c
r20626 r21364 19 19 // actions which ppImage should perform 20 20 options->doMaskBuild = false; // Build internal mask 21 options->do WeightBuild = false; // Build internal weight21 options->doVarianceBuild = false; // Build internal variance 22 22 options->doMask = false; // Mask bad pixels 23 23 options->doNonLin = false; // Non-linearity correction … … 37 37 options->BaseFITS = false; // create output image 38 38 options->BaseMaskFITS = false; // create output mask image 39 options->Base WeightFITS = false; // create output weightimage39 options->BaseVarianceFITS = false; // create output variance image 40 40 41 41 options->ChipFITS = false; // create output chip-mosaic image 42 42 options->ChipMaskFITS = false; // create output chip-mosaic mask image 43 options->Chip WeightFITS = false; // create output chip-mosaic weightimage43 options->ChipVarianceFITS = false; // create output chip-mosaic variance image 44 44 45 45 options->FPA1FITS = false; // create fpa-mosaic binned image (scale 1) … … 194 194 // for these images, even if not required otherwise 195 195 options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD"); 196 options->do WeightBuild = psMetadataLookupBool(NULL, recipe, "WEIGHT.BUILD");196 options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD"); 197 197 198 198 // Mask recipe options (note that mask bit values are set in ppImageSetMaskBits.c) … … 236 236 options->BaseFITS = psMetadataLookupBool(NULL, recipe, "BASE.FITS"); 237 237 options->BaseMaskFITS = psMetadataLookupBool(NULL, recipe, "BASE.MASK.FITS"); 238 options->Base WeightFITS = psMetadataLookupBool(NULL, recipe, "BASE.WEIGHT.FITS");238 options->BaseVarianceFITS = psMetadataLookupBool(NULL, recipe, "BASE.VARIANCE.FITS"); 239 239 240 240 options->ChipFITS = psMetadataLookupBool(NULL, recipe, "CHIP.FITS"); 241 241 options->ChipMaskFITS = psMetadataLookupBool(NULL, recipe, "CHIP.MASK.FITS"); 242 options->Chip WeightFITS = psMetadataLookupBool(NULL, recipe, "CHIP.WEIGHT.FITS");242 options->ChipVarianceFITS = psMetadataLookupBool(NULL, recipe, "CHIP.VARIANCE.FITS"); 243 243 244 244 options->FPA1FITS = psMetadataLookupBool(NULL, recipe, "FPA1.FITS"); … … 255 255 options->doBG = psMetadataLookupBool(NULL, recipe, "BACKGROUND"); 256 256 257 // even if not requested explicitly, if any of these are set, build an internal mask and weight:257 // even if not requested explicitly, if any of these are set, build an internal mask and variance: 258 258 if (options->doBias || options->doOverscan || options->doDark || options->doShutter || options->doFlat || 259 259 options->doPhotom) { 260 260 options->doMaskBuild = true; 261 options->do WeightBuild = true;261 options->doVarianceBuild = true; 262 262 } else if (options->doMask || options->doBG) { 263 263 options->doMaskBuild = true;
Note:
See TracChangeset
for help on using the changeset viewer.
