IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 30, 2006, 4:56:45 PM (20 years ago)
Author:
Paul Price
Message:

Pushed fringe correction into ppImageDetrendFringe.c.

File:
1 edited

Legend:

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

    r10300 r10335  
    109109                psTrace("ppImage", 3, "Applying fringe correction...\n");
    110110                pmCell *fringeCell = pmFPAfileThisCell(config->files, view, "PPIMAGE.FRINGE");
    111                 psImage *fringe = ppImageDetrendFringeGenerate(cell, fringeCell);
    112                 while ((readout = pmFPAviewNextReadout(view, input->fpa, 1)) != NULL) {
    113                     if (!readout->data_exists) {
    114                         continue;
    115                     }
    116 
    117                     // XXX: Make generic, so subregions may be subtracted as well
    118                     psBinaryOp(readout->image, readout->image, "-", fringe);
    119 
    120                     if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) {
    121                         return false;
    122                     }
     111                if (!ppImageDetrendFringeGenerate(cell, fringeCell)) {
     112                    return false;
    123113                }
    124                 psFree(fringe);
    125114            }
    126115
Note: See TracChangeset for help on using the changeset viewer.