Changeset 14223 for trunk/ppImage/src/ppImageOptions.c
- Timestamp:
- Jul 16, 2007, 10:20:28 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageOptions.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageOptions.c
r14209 r14223 18 18 19 19 // actions which ppImage should perform 20 options->doMaskBuild = false; // Build internal mask 21 options->doWeightBuild = false; // Build internal weight 20 22 options->doMask = false; // Mask bad pixels 21 23 options->doNonLin = false; // Non-linearity correction … … 180 182 } 181 183 184 // for these images, even if not required otherwise 185 options->doMaskBuild = psMetadataLookupBool(NULL, recipe, "MASK.BUILD"); 186 options->doWeightBuild = psMetadataLookupBool(NULL, recipe, "WEIGHT.BUILD"); 187 182 188 // Mask recipe options 183 189 options->doMask = psMetadataLookupBool(NULL, recipe, "MASK"); … … 190 196 options->flatMask = pmConfigMask("FLAT", config); 191 197 options->blankMask = pmConfigMask("BLANK", config); 198 // XXX should it be an error for these to not exist? 192 199 193 200 options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS"); … … 225 232 } 226 233 234 // even if not requested explicitly, if any of these are set, build an internal mask and weight: 235 if (options->doMask || options->doShutter || options->doFlat || options->doPhotom) { 236 options->doMaskBuild = true; 237 options->doWeightBuild = true; 238 } 239 227 240 options->BaseFITS = psMetadataLookupBool(NULL, recipe, "BASE.FITS"); 228 241 options->BaseMaskFITS = psMetadataLookupBool(NULL, recipe, "BASE.MASK.FITS");
Note:
See TracChangeset
for help on using the changeset viewer.
