IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27692


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

If measuring the PSF for the sake of kernel scaling, blow it away so it doesn't get written out.

File:
1 edited

Legend:

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

    r27365 r27692  
    8484    psAssert(header, "Require header.");
    8585    float fwhm = psMetadataLookupF32(NULL, header, "FWHM_MAJ");
     86
     87    if (psMetadataLookup(photRO->analysis, "PSPHOT.DETECTIONS")) {
     88        psMetadataRemoveKey(photRO->analysis, "PSPHOT.DETECTIONS");
     89    }
     90    if (psMetadataLookup(photRO->parent->parent->analysis, "PSPHOT.PSF")) {
     91        psMetadataRemoveKey(photRO->parent->parent->analysis, "PSPHOT.PSF");
     92    }
    8693
    8794    return fwhm;
Note: See TracChangeset for help on using the changeset viewer.