IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2009, 12:27:19 PM (17 years ago)
Author:
Paul Price
Message:

Delete existing photometry from the input readout (which is actually what gets output).
The photometry being written wasn't actually the sources that were detected on the difference image!

File:
1 edited

Legend:

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

    r23938 r24273  
    6565    // equivalent to the minuend image.
    6666    pmReadout *inRO = pmFPAfileThisReadout(config->files, view, name); // Readout with image and sources
     67    if (psMetadataLookup(inRO->analysis, "PSPHOT.SOURCES")) {
     68        psMetadataRemoveKey(inRO->analysis, "PSPHOT.SOURCES");
     69    }
    6770
    6871    pmFPAfile *photFile = psMetadataLookupPtr(&mdok, config->files, "PSPHOT.INPUT"); // Photometry file
Note: See TracChangeset for help on using the changeset viewer.