IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 11, 2010, 2:48:58 PM (16 years ago)
Author:
eugene
Message:

create sources for matched detections found on other images (psphotStack)

Location:
branches/eam_branches/stackphot.20100406/psphot/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/stackphot.20100406/psphot/src

    • Property svn:ignore
      •  

        old new  
        2121psphotForced
        2222psphotMakePSF
         23psphotStack
  • branches/eam_branches/stackphot.20100406/psphot/src/psphotMergeSources.c

    r27314 r27650  
    7676    pmDetections *extCMF = NULL;
    7777    psArray *extSourcesTXT = NULL;
    78 
    79     // find the currently selected readout
    80     pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PSPHOT.INPUT", 0); // File of interest
     78    int index = 0;
     79
     80    // find the currently selected readout
     81    pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PSPHOT.INPUT", index); // File of interest
    8182    psAssert (file, "missing file?");
    8283
     
    118119                psFree (source->modelPSF);
    119120                source->modelPSF = NULL;
     121                source->imageID = index;
    120122
    121123                psArrayAdd (detections->newSources, 100, source);
     
    140142                psFree (source->modelPSF);
    141143                source->modelPSF = NULL;
     144                source->imageID = index;
    142145
    143146                psArrayAdd (detections->newSources, 100, source);
Note: See TracChangeset for help on using the changeset viewer.