IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16769


Ignore:
Timestamp:
Feb 29, 2008, 5:14:37 PM (18 years ago)
Author:
eugene
Message:

add log message, fix output peaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080229/psphot/src/psphotFindDetections.c

    r16760 r16769  
    5555        // merge in old peaks;
    5656        const int includePeaks = 0x0 | 0x2; // i.e. just from newFootprints
     57       
     58        psLogMsg ("psphot", PS_LOG_INFO, "merging %ld new footprints into %ld existing ones\n", footprints->n, detections->footprints->n);
    5759        psArray *mergedFootprints = pmMergeFootprintArrays(detections->footprints, footprints, includePeaks);
    5860        psFree(footprints);
     
    6466
    6567    psphotCullPeaks(readout->image, readout->weight, recipe, detections->footprints);
    66     detections->peaks = pmFootprintArrayToPeaks(footprints);
     68    detections->peaks = pmFootprintArrayToPeaks(detections->footprints);
     69    psLogMsg ("psphot", PS_LOG_INFO, "peaks: %ld, total footprints: %ld\n", detections->peaks->n, detections->footprints->n);
    6770
    6871    return detections;
Note: See TracChangeset for help on using the changeset viewer.