IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 5, 2010, 9:45:46 PM (15 years ago)
Author:
eugene
Message:

add forced photometry of positive sources; generate a background model for PPSUB.OUTPUT even if PSPHOT.BACKMDL exists (is certain to be for the wrong image)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubMakePSF.c

    r28049 r29937  
    3535
    3636    psTimerStart("PPSUB_PHOT");
    37 
    38     psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSUB_RECIPE); // Recipe for ppSub
    39     psAssert(recipe, "We checked this earlier, so it should be here.");
    40 
    41     if (!psMetadataLookupBool(NULL, recipe, "PHOTOMETRY")) {
    42         return true;
    43     }
    4437
    4538    bool reverse = psMetadataLookupBool(NULL, config->arguments, "REVERSE"); // Reverse sense of subtraction?
     
    9386    // use flags to toss totally bogus entries?
    9487    psArray *goodSources = ppSubSelectPSFSources (sources);
    95     if (!psphotReadoutFindPSF(config, view, goodSources)) {
     88    if (!psphotReadoutFindPSF(config, view, "PSPHOT.INPUT", goodSources)) {
    9689        // This is likely a data quality issue
    9790        // XXX Split into multiple cases using error codes?
Note: See TracChangeset for help on using the changeset viewer.