IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2010, 5:10:34 PM (16 years ago)
Author:
eugene
Message:

various API fixes for multi-inputs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/psphot.stack.20100120/src/psphotAddNoise.c

    r26681 r26688  
    3131}
    3232
    33 bool psphotAddOrSubNoise (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe, bool add) {
     33bool psphotAddOrSubNoiseReadout (pmConfig *config, const pmFPAview *view, const char *filename, int index, psMetadata *recipe, bool add) {
    3434
    3535    bool status = false;
     
    4040    // find the currently selected readout
    4141    pmFPAfile *file = pmFPAfileSelectSingle(config->files, filename, index); // File of interest
    42     psAssert (readout, "missing file?");
     42    psAssert (file, "missing file?");
    4343
    4444    pmReadout *readout = pmFPAviewThisReadout(view, file->fpa);
     
    4747    psAssert (readout->parent->concepts, "missing concepts?");
    4848
    49     psArray *sources = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.SOURCES");
     49    pmDetections *detections = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.DETECTIONS");
     50    psAssert (detections, "missing detections?");
     51
     52    psArray *sources = detections->allSources;
    5053    psAssert (sources, "missing sources?");
    5154
Note: See TracChangeset for help on using the changeset viewer.