IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 10, 2007, 3:27:17 PM (19 years ago)
Author:
Paul Price
Message:

Updating the output concepts.

File:
1 edited

Legend:

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

    r14300 r14467  
    4242    float totExposure = 0.0;            // Total exposure time
    4343    pmReadout *templateRO = NULL;       // Template readout, for copy WCS
     44    psList *fpaList = psListAlloc(NULL); // List of input FPAs, for concept averaging
     45    psList *cellList = psListAlloc(NULL); // List of input cells, for concept averaging
    4446    while ((fileItem = psMetadataGetAndIncrement(fileIter))) {
    4547        assert(fileItem->type == PS_DATA_UNKNOWN);
    4648        pmFPAfile *inputFile = fileItem->data.V; // An input file
    4749        pmReadout *ro = pmFPAviewThisReadout(view, inputFile->fpa); // Corresponding readout
     50
     51        psListAdd(fpaList, PS_LIST_TAIL, inputFile->fpa);
     52        psListAdd(cellList, PS_LIST_TAIL, ro->parent);
    4853
    4954        float seeing = psMetadataLookupF32(NULL, inputFile->fpa->analysis, "PPSTACK.SEEING"); // Seeing FWHM
     
    204209    }
    205210
     211    // Copy other concepts
     212    pmConceptsAverageFPAs(outFPA, fpaList);
     213    pmConceptsAverageCells(outCell, cellList, NULL, NULL, true);
     214    psFree(fpaList);
     215    psFree(cellList);
     216
    206217    psFree(stack);
    207218    psFree(outRO);                      // Drop reference
Note: See TracChangeset for help on using the changeset viewer.