IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 14, 2010, 5:16:48 PM (16 years ago)
Author:
Paul Price
Message:

Once we've got a PSF, blow away detections in case they're confused with real output detections.

File:
1 edited

Legend:

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

    r26982 r27691  
    9191    }
    9292
     93    // Now we've got a PSF, blow away detections in case they're confused with real output detections
     94    {
     95        pmFPAview *view = ppSubViewReadout(); // View to readout
     96        pmReadout *out = pmFPAfileThisReadout(config->files, view, "PPSUB.OUTPUT");
     97        if (psMetadataLookup(out->analysis, "PSPHOT.DETECTIONS")) {
     98            psMetadataRemoveKey(out->analysis, "PSPHOT.DETECTIONS");
     99        }
     100        psFree(view);
     101    }
     102
    93103    if (!ppSubReadoutSubtract(config)) {
    94104        psError(psErrorCodeLast(), false, "Unable to subtract images.");
Note: See TracChangeset for help on using the changeset viewer.