IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 17, 2011, 2:02:08 PM (15 years ago)
Author:
eugene
Message:

merge changes from trunk

Location:
branches/eam_branches/ipp-20111110
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111110

  • branches/eam_branches/ipp-20111110/ppSub/src/ppSubMatchPSFs.c

    r31672 r32694  
    201201bool ppSubMatchPSFs(ppSubData *data)
    202202{
     203    bool mdok = false;
     204
    203205    psAssert(data, "Require processing data");
    204206    pmConfig *config = data->config;    // Configuration
     
    208210    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSUB_RECIPE); // Recipe for ppSim
    209211    psAssert(recipe, "We checked this earlier, so it should be here.");
     212
     213    bool noConvolve = psMetadataLookupBool(&mdok, recipe, "NOCONVOLVE"); // Do not use convolved images.
     214    if (noConvolve) {
     215        psWarning("not matching PSFs because NOCONVOLVE is TRUE\n");
     216        return true;
     217    }
    210218
    211219    pmFPAview *view = ppSubViewReadout(); // View to readout
     
    228236        psFree(refConv);
    229237    }
    230 
    231     bool mdok;                          // Status of MD lookup
    232238
    233239    // Load pre-calculated kernel, if available
Note: See TracChangeset for help on using the changeset viewer.