Changeset 25847
- Timestamp:
- Oct 14, 2009, 5:36:51 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
ppImage/src/ppImageLoop.c (modified) (3 diffs)
-
ppStack/src/ppStackFinish.c (modified) (1 diff)
-
ppSub/src/ppSub.c (modified) (1 diff)
-
ppSub/src/ppSubData.c (modified) (1 diff)
-
pswarp/src/pswarpLoop.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r24229 r25847 51 51 } 52 52 53 // crosstalk measurement needs to be done on the entire chip at once, and before54 // signal levels are modified by the detrending. If crosstalk measurement is55 // 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 before61 // signal levels are modified by the detrending. If crosstalk correction is62 // 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 }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 } 66 66 67 67 psTimerStart(TIMER_DETREND); … … 104 104 } 105 105 106 // XXX TEST:107 // psphotSaveImage (NULL, readout->image, "test.image.fits");106 // XXX TEST: 107 // psphotSaveImage (NULL, readout->image, "test.image.fits"); 108 108 109 109 // XXX set the options->*Mask values here (after the mask images have been loaded … … 250 250 psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG"); 251 251 if (dump_file) { 252 pmConfigDump(config, dump_file); 252 if (!pmConfigDump(config, dump_file)) { 253 ESCAPE("Unable to dump configuration."); 254 } 253 255 } 254 256 -
trunk/ppStack/src/ppStackFinish.c
r23753 r25847 66 66 psString dump = psMetadataLookupStr(&mdok, config->arguments, "DUMP_CONFIG"); // File for config 67 67 if (dump) { 68 pmConfigDump(config, dump); 68 if (!pmConfigDump(config, dump)) { 69 psError(PS_ERR_IO, false, "Unable to dump configuration."); 70 return false; 71 } 69 72 } 70 73 -
trunk/ppSub/src/ppSub.c
r23753 r25847 76 76 psTimerStop(); 77 77 78 psString dump_file = psMetadataLookupStr(NULL, data->config->arguments, "-dumpconfig"); 79 if (dump_file) { 80 if (!pmConfigDump(data->config, dump_file)) { 81 psErrorStackPrint(stderr, "Unable to dump configuration.\n"); 82 exitValue = PS_EXIT_SYS_ERROR; 83 } 84 } 78 85 psFree(data); 79 86 -
trunk/ppSub/src/ppSubData.c
r23753 r25847 29 29 psFree(data->stats); 30 30 31 psString dump_file = psMetadataLookupStr(NULL, data->config->arguments, "-dumpconfig");32 if (dump_file) {33 pmConfigDump(data->config, dump_file);34 }35 31 psFree(data->config); 36 32 -
trunk/pswarp/src/pswarpLoop.c
r25738 r25847 488 488 psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG"); 489 489 if (dump_file) { 490 pmConfigDump(config, dump_file); 490 if (!pmConfigDump(config, dump_file)) { 491 psError(PS_ERR_IO, false, "Unable to dump configuration"); 492 return false; 493 } 491 494 } 492 495
Note:
See TracChangeset
for help on using the changeset viewer.
