IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 23, 2008, 3:40:40 PM (18 years ago)
Author:
Paul Price
Message:

The sources aren't on the output readout's chip, but on photFile's chip.

File:
1 edited

Legend:

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

    r17784 r17790  
    246246        pmFPAfileActivate(config->files, false, "PSPHOT.INPUT");
    247247
    248         psArray *sources = psMetadataLookupPtr(NULL, outRO->parent->parent->analysis, "PSPHOT.SOURCES");
     248        pmChip *photChip = pmFPAviewThisChip(view, photFile->fpa); // Chip with the sources
     249        psArray *sources = psMetadataLookupPtr(NULL, photChip->analysis, "PSPHOT.SOURCES"); // Sources
    249250        psMetadataAddS32(stats, PS_LIST_TAIL, "NUM_SOURCES", 0, "Number of sources detected", sources->n);
    250251    }
Note: See TracChangeset for help on using the changeset viewer.