IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 15, 2006, 5:20:44 PM (20 years ago)
Author:
eugene
Message:

adding error checks to DetrendBias

File:
1 edited

Legend:

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

    r7581 r7585  
    4040    // Bias, dark and overscan subtraction are all merged.
    4141    if (options->doBias || options->doDark || options->doOverscan) {
    42         ppImageDetrendBias(input, bias, dark, options);
     42        if (!ppImageDetrendBias(input, bias, dark, options)) {
     43            return false;
     44        }
    4345    }
    4446
     
    4648    if (options->doFlat) {
    4749        pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT");
    48         pmFlatField(input, flat);
     50        if (!pmFlatField(input, flat)) {
     51            return false;
     52        }
    4953    }
    5054
Note: See TracChangeset for help on using the changeset viewer.