IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2010, 3:12:30 PM (15 years ago)
Author:
eugene
Message:

add some notes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/ppStack/src/ppStackCleanup.c

    r27427 r30012  
    1111#include "ppStackLoop.h"
    1212
    13 
     13// XXX poor name : move jpeg & stats to a separate function?
     14// ppStackCleanupFiles
    1415bool ppStackCleanup(ppStackThreadData *stack, ppStackOptions *options, pmConfig *config)
    1516{
     
    2021    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe
    2122    psAssert(recipe, "We've thrown an error on this before.");
    22 
    23 #if 0
    24     // Ensure masked regions really look masked
    25     {
    26         psString maskBadStr = psMetadataLookupStr(NULL, recipe, "MASK.BAD"); // Name of bits for bad
    27         psImageMaskType maskBad = pmConfigMaskGet(maskBadStr, config); // Bits to mask for bad pixels
    28         if (!pmReadoutMaskApply(options->outRO, maskBad)) {
    29             psWarning("Unable to apply mask");
    30         }
    31     }
    32 #endif
    3323
    3424    // Generate binned JPEGs
     
    9282        options->expRO = NULL;
    9383
     84        // XXX move these close / free operations to the jpeg creation function
    9485        pmFPAview *view = pmFPAviewAlloc(0);// Pointer into FPA hierarchy
    9586        view->chip = view->cell = 0;        // pmFPAviewFreeData doesn't want to deal with readouts
Note: See TracChangeset for help on using the changeset viewer.