Changeset 7716 for trunk/ppImage/src/ppImageDetrendReadout.c
- Timestamp:
- Jun 27, 2006, 6:12:57 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageDetrendReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendReadout.c
r7585 r7716 12 12 13 13 // create the target mask and weight images 14 pmReadout SetMaskWeight (input);14 pmReadoutGenerateMaskWeight (input); 15 15 16 16 // apply the externally supplied mask to the input->mask pixels 17 17 if (options->doMask) { 18 18 pmReadout *mask = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.MASK"); 19 pmMaskBadPixels (input, mask, options->maskValue);19 pmMaskBadPixels (input, mask, options->maskValue); 20 20 // ppImageDetrendMask(input, mask); 21 21 } … … 40 40 // Bias, dark and overscan subtraction are all merged. 41 41 if (options->doBias || options->doDark || options->doOverscan) { 42 if (!ppImageDetrendBias(input, bias, dark, options)) {43 return false;44 }42 if (!ppImageDetrendBias(input, bias, dark, options)) { 43 return false; 44 } 45 45 } 46 46 47 47 // Flat-field correction (no options used?) 48 48 if (options->doFlat) { 49 pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT");49 pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT"); 50 50 if (!pmFlatField(input, flat)) { 51 return false;52 }51 return false; 52 } 53 53 } 54 54
Note:
See TracChangeset
for help on using the changeset viewer.
