IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14821


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.

Location:
trunk/ppSub/src
Files:
2 edited

Legend:

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

    r14810 r14821  
    128128    psFree(view);
    129129
    130     pmFPAfile *sources = pmFPAfileBindFromArgs(&status, input, config, "PPSUB.SOURCES", "PPSUB.SOURCES");
     130    pmFPAfile *sources = pmFPAfileDefineFromArgs(&status, config, "PPSUB.SOURCES", "PPSUB.SOURCES");
    131131    if (!status) {
    132132        psError(PS_ERR_IO, false, "Failed to load file definition PPSUB.SOURCES");
  • 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.