IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 11, 2007, 2:49:39 PM (19 years ago)
Author:
Paul Price
Message:

Doesn't like reading sources into the same FPA structure as the images (header is different), so read it into its own, and then use that.

File:
1 edited

Legend:

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

    r14806 r14821  
    1616    pmReadout *inRO = pmFPAfileThisReadout(config->files, view, "PPSUB.INPUT"); // Input readout
    1717    pmReadout *refRO = pmFPAfileThisReadout(config->files, view, "PPSUB.REF"); // Reference readout
     18    pmReadout *sourcesRO = pmFPAfileThisReadout(config->files, view, "PPSUB.SOURCES"); // Readout with sources
    1819    pmCell *outCell = pmFPAfileThisCell(config->files, view, "PPSUB.OUTPUT"); // Output cell
    1920    pmReadout *outRO = pmReadoutAlloc(outCell); // Output readout
     
    8384    }
    8485
    85     psArray *sources = psMetadataLookupPtr(&mdok, refRO->analysis, "PSPHOT.SOURCES"); // Sources in image
     86    psArray *sources = psMetadataLookupPtr(&mdok, sourcesRO->analysis, "PSPHOT.SOURCES"); // Sources in image
    8687
    8788    if (!pmSubtractionMatch(outRO, refRO, inRO, footprint, regionSize, spacing, threshold, sources,
Note: See TracChangeset for help on using the changeset viewer.