IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 12, 2006, 4:49:23 PM (20 years ago)
Author:
eugene
Message:

substantial work to make formats all work, added error checking

File:
1 edited

Legend:

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

    r7522 r7531  
    3939
    4040    // Bias, dark and overscan subtraction are all merged.
    41     ppImageDetrendBias(input, bias, dark, options);
     41    if (options->doBias || options->doDark) {
     42        ppImageDetrendBias(input, bias, dark, options);
     43    }
    4244
    4345    // Flat-field correction (no options used?)
    4446    if (options->doFlat) {
    45         pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT");
     47        pmReadout *flat = pmFPAfileThisReadout (config->files, detview, "PPIMAGE.FLAT");
    4648        pmFlatField(input, flat);
    4749    }
     
    5052    return true;
    5153}
    52 
    53     // XXX in psphot, the recipe options are parsed at this depth
    54     // XXX consider if we move ppImageOptions in here
    55     // psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PSPHOT");
    56 
Note: See TracChangeset for help on using the changeset viewer.