IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2010, 5:08:29 PM (16 years ago)
Author:
eugene
Message:

updates to support psphotStack

Location:
trunk/ppSim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim

  • trunk/ppSim/src/ppSimUtils.c

    r24807 r27657  
    270270psArray *ppSimSelectSources (pmConfig *config, const pmFPAview *view, const char *filename) {
    271271
     272    bool status;
     273
    272274    pmReadout *readout = pmFPAfileThisReadout (config->files, view, filename);
    273275    PS_ASSERT_PTR_NON_NULL (readout, NULL);
    274276
    275     psArray *sources = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.SOURCES");
     277    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
     278    psAssert (detections, "missing detections?");
     279
     280    psArray *sources = detections->allSources;
    276281    return sources;
    277282}
Note: See TracChangeset for help on using the changeset viewer.