Changeset 10322 for trunk/ppImage/src/ppImageDetrendReadout.c
- Timestamp:
- Nov 30, 2006, 1:25:59 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageDetrendReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageDetrendReadout.c
r10288 r10322 15 15 // find the currently selected readout 16 16 pmReadout *input = pmFPAfileThisReadout(config->files, view, "PPIMAGE.INPUT"); 17 18 // apply the externally supplied mask to the input->mask pixels19 if (options->doMask) {20 pmReadout *mask = pmFPAfileThisReadout(config->files, detview, "PPIMAGE.MASK");21 pmMaskBadPixels(input, mask, options->maskValue);22 }23 17 24 18 # if 0 … … 46 40 } 47 41 48 // create the target mask and weight images 49 pmReadoutGenerateMaskWeight(input, true); 42 if (options->doMask || options->doShutter || options->doFlat || options->doPhotom) { 43 // create the target mask and weight images 44 pmReadoutGenerateMaskWeight(input, true); 45 } 46 47 // apply the externally supplied mask to the input->mask pixels 48 if (options->doMask) { 49 pmReadout *mask = pmFPAfileThisReadout(config->files, detview, "PPIMAGE.MASK"); 50 pmMaskBadPixels(input, mask, options->maskValue); 51 } 50 52 51 53 // Shutter correction
Note:
See TracChangeset
for help on using the changeset viewer.
