Changeset 24079 for trunk/ppImage
- Timestamp:
- May 6, 2009, 11:01:47 AM (17 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 4 edited
-
ppImage.h (modified) (2 diffs)
-
ppImageDetrendReadout.c (modified) (1 diff)
-
ppImageOptions.c (modified) (1 diff)
-
ppImageSetMaskBits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImage.h
r23845 r24079 44 44 bool checkCTE; // measure pixel-based variance 45 45 46 bool doCrosstalkMeasure; // measure crosstalk signal47 bool doCrosstalkCorrect; // apply crosstalk correction46 bool doCrosstalkMeasure; // measure crosstalk signal 47 bool doCrosstalkCorrect; // apply crosstalk correction 48 48 49 49 // output files requested … … 69 69 psImageMaskType lowMask; // Mask value to give bad pixels 70 70 psImageMaskType flatMask; // Mask value to give bad flat pixels 71 psImageMaskType darkMask; // Mask value to give bad dark pixels 71 72 psImageMaskType blankMask; // Mask value to give blank pixels 72 73 -
trunk/ppImage/src/ppImageDetrendReadout.c
r24078 r24079 68 68 69 69 if (options->doDark && dark) { 70 if (!pmDarkApply(input, dark, options-> flatMask)) {70 if (!pmDarkApply(input, dark, options->darkMask)) { 71 71 psError(PS_ERR_UNKNOWN, false, "Unable to subtract dark."); 72 72 psFree(detview); -
trunk/ppImage/src/ppImageOptions.c
r23845 r24079 58 58 options->lowMask = 0x00; // out-of-bounds (low) pixels (supplied to pmReadoutGenerateMask) 59 59 options->flatMask = 0x00; // Bad flat pixels (supplied to pmFlatField) 60 options->darkMask = 0x00; // Bad dark pixels (supplied to pmDarkApply) 60 61 options->blankMask = 0x00; // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic) 61 62 options->markValue = 0x00; // A safe bit for internal marking -
trunk/ppImage/src/ppImageSetMaskBits.c
r23825 r24079 14 14 // at this point we know we have valid values for required entries SAT, BAD, FLAT, BLANK: 15 15 16 // mask for non-linearflat corrections16 // mask for bad flat corrections 17 17 options->flatMask = pmConfigMaskGet("FLAT", config); 18 18 psAssert (options->flatMask, "flat mask not set"); 19 20 // mask for bad dark corrections 21 options->darkMask = pmConfigMaskGet("DARK", config); 22 psAssert (options->darkMask, "dark mask not set"); 19 23 20 24 // mask for non-existent data (default to DETECTOR if not defined)
Note:
See TracChangeset
for help on using the changeset viewer.
