IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2009, 5:36:51 PM (17 years ago)
Author:
Paul Price
Message:

Generate an error if the configuration dumping doesn't work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageLoop.c

    r24229 r25847  
    5151        }
    5252
    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         }
     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        }
    6666
    6767        psTimerStart(TIMER_DETREND);
     
    104104                }
    105105
    106                 // XXX TEST:
    107                 // psphotSaveImage (NULL, readout->image, "test.image.fits");
     106                // XXX TEST:
     107                // psphotSaveImage (NULL, readout->image, "test.image.fits");
    108108
    109109                // XXX set the options->*Mask values here (after the mask images have been loaded
     
    250250    psString dump_file = psMetadataLookupStr(&status, config->arguments, "DUMP_CONFIG");
    251251    if (dump_file) {
    252         pmConfigDump(config, dump_file);
     252        if (!pmConfigDump(config, dump_file)) {
     253            ESCAPE("Unable to dump configuration.");
     254        }
    253255    }
    254256
Note: See TracChangeset for help on using the changeset viewer.