Changeset 23845
- Timestamp:
- Apr 13, 2009, 5:19:15 PM (17 years ago)
- Location:
- trunk/ppImage/src
- Files:
-
- 2 added
- 4 edited
-
Makefile.am (modified) (1 diff)
-
ppImage.h (modified) (2 diffs)
-
ppImageCorrectCrosstalk.c (added)
-
ppImageLoop.c (modified) (1 diff)
-
ppImageMeasureCrosstalk.c (added)
-
ppImageOptions.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/Makefile.am
r23808 r23845 50 50 ppImageMetadataStats.c \ 51 51 ppImageReplaceBackground.c \ 52 ppImageMeasureCrosstalk.c \ 53 ppImageCorrectCrosstalk.c \ 52 54 ppImageDefineFile.c \ 53 55 ppImageSetMaskBits.c \ -
trunk/ppImage/src/ppImage.h
r23825 r23845 44 44 bool checkCTE; // measure pixel-based variance 45 45 46 bool doCrosstalkMeasure; // measure crosstalk signal 47 bool doCrosstalkCorrect; // apply crosstalk correction 48 46 49 // output files requested 47 50 bool BaseFITS; … … 185 188 186 189 190 // measure the crosstalk signal 191 bool ppImageMeasureCrosstalk(pmConfig *config, ppImageOptions *options, pmFPAview *view); 192 193 // correct the crosstalk signal 194 bool ppImageCorrectCrosstalk(pmConfig *config, ppImageOptions *options, pmFPAview *view); 195 187 196 // Measure fringes 188 197 bool ppImageDetrendFringeMeasure(pmReadout *readout, // Readout to measure -
trunk/ppImage/src/ppImageLoop.c
r23753 r23845 50 50 ESCAPE("load failure for Chip"); 51 51 } 52 53 // crosstalk measurement needs to be done on the entire chip at once, and before 54 // signal levels are modified by the detrending. If crosstalk measurement is 55 // requested, the read-level for the images is set to CHIP. 56 if (!ppImageMeasureCrosstalk(config, options, view)) { 57 ESCAPE("Unable to perform crosstalk correction"); 58 } 59 60 // crosstalk correction needs to be done on the entire chip at once, and before 61 // signal levels are modified by the detrending. If crosstalk correction is 62 // requested, the read-level for the images is set to CHIP. 63 if (!ppImageCorrectCrosstalk(config, options, view)) { 64 ESCAPE("Unable to perform crosstalk correction"); 65 } 52 66 53 67 psTimerStart(TIMER_DETREND); -
trunk/ppImage/src/ppImageOptions.c
r23825 r23845 61 61 options->markValue = 0x00; // A safe bit for internal marking 62 62 63 // crosstalk options 64 options->doCrosstalkMeasure = false; // measure crosstalk 65 options->doCrosstalkCorrect = false; // correct crosstalk 66 63 67 // Non-linearity default options 64 68 options->nonLinearType = 0; // Type of non-linearity data (vector, string or metadata) … … 207 211 options->doMask = psMetadataLookupBool(NULL, recipe, "MASK"); 208 212 213 // Mask recipe options (note that mask bit values are set in ppImageSetMaskBits.c) 214 options->doCrosstalkMeasure = psMetadataLookupBool(NULL, recipe, "CROSSTALK.MEASURE"); 215 options->doCrosstalkCorrect = psMetadataLookupBool(NULL, recipe, "CROSSTALK.CORRECT"); 216 209 217 options->doBias = psMetadataLookupBool(NULL, recipe, "BIAS"); 210 218 options->doDark = psMetadataLookupBool(NULL, recipe, "DARK");
Note:
See TracChangeset
for help on using the changeset viewer.
