IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20329


Ignore:
Timestamp:
Oct 22, 2008, 11:43:24 AM (18 years ago)
Author:
Paul Price
Message:

Need to hack S/N of peaks to fool psphotSourceStats.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotMergeSources.c

    r20085 r20329  
    6262
    6363    pmDetections *detections = pmDetectionsAlloc();
    64  
     64
    6565    psArray *sources = psMetadataLookupPtr (NULL, readout->analysis, "PSPHOT.SOURCES");
    6666    if (!sources) {
     
    8282        peak->yf = ypos;
    8383        peak->flux = 1.0;
     84        peak->SN = INFINITY;
    8485
    85         psArrayAdd (detections->peaks, 100, peak);
    86         psFree (peak);
     86        psArrayAdd (detections->peaks, 100, peak);
     87        psFree (peak);
    8788    }
    8889
Note: See TracChangeset for help on using the changeset viewer.