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/ppSimPhotomReadoutFake.c

    r26900 r27657  
    111111    psAssert (fakeReadout, "no fakeReadout?");
    112112    pmChipSetDataStatus (fakeChip, true);
    113     psMetadataAddArray (fakeReadout->analysis, PS_LIST_TAIL, "PSPHOT.SOURCES", PS_META_REPLACE, "fake photometry ", fakeSources);
     113
     114    pmDetections *detections = pmDetectionsAlloc();
     115    detection->allSources = fakeSources;
     116
     117    psMetadataAddArray (fakeReadout->analysis, PS_LIST_TAIL, "PSPHOT.DETECTIONS", PS_META_REPLACE, "fake photometry ", detections);
     118    psFree(detections);
    114119
    115120    return true;
Note: See TracChangeset for help on using the changeset viewer.