IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 16, 2009, 4:13:51 PM (16 years ago)
Author:
Paul Price
Message:

Update concepts for unconvolved outputs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackConvolve.c

    r26104 r26161  
    213213        pmFPAview view;                 // View for output
    214214        view.chip = view.cell = view.readout = 0;
     215
    215216        pmCell *outCell = pmFPAfileThisCell(config->files, &view, "PPSTACK.OUTPUT"); // Output cell
    216217        pmFPA *outFPA = outCell->parent->parent; // Output FPA
     218
     219        pmCell *unconvCell = pmFPAfileThisCell(config->files, &view, "PPSTACK.UNCONV"); // Unconvolved cell
     220        pmFPA *unconvFPA = unconvCell->parent->parent;                                  // Unconvolved FPA
     221
    217222        pmConceptsAverageFPAs(outFPA, fpaList);
    218223        pmConceptsAverageCells(outCell, cellList, NULL, NULL, true);
     224
     225        pmConceptsAverageFPAs(unconvFPA, fpaList);
     226        pmConceptsAverageCells(unconvCell, cellList, NULL, NULL, true);
     227
    219228        psFree(fpaList);
    220229        psFree(cellList);
     
    223232        UPDATE_CONCEPT(outCell, "CELL.EXPOSURE", options->sumExposure);
    224233        UPDATE_CONCEPT(outCell, "CELL.DARKTIME", NAN);
     234
     235        UPDATE_CONCEPT(unconvFPA,  "FPA.EXPOSURE",  options->sumExposure);
     236        UPDATE_CONCEPT(unconvCell, "CELL.EXPOSURE", options->sumExposure);
     237        UPDATE_CONCEPT(unconvCell, "CELL.DARKTIME", NAN);
    225238    }
    226239
Note: See TracChangeset for help on using the changeset viewer.