Changeset 30988
- Timestamp:
- Mar 20, 2011, 9:40:33 AM (15 years ago)
- Location:
- branches/eam_branches/ipp-20110213
- Files:
-
- 2 edited
-
psModules/src/objects/pmFootprintCullPeaks.c (modified) (2 diffs)
-
psphot/src/psphotFitSourcesLinear.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110213/psModules/src/objects/pmFootprintCullPeaks.c
r30984 r30988 87 87 // if we have many peaks in a large footprint, we waste a lot of time generating nearly identical footprints 88 88 // here we attempt to cull peaks drawing a single footprint for all peaks in some threshold range 89 fprintf (stderr, "footprint: %d x %d : %d pix, %d peaks\n", subImg->numCols, subImg->numRows, fp->npix, (int) fp->peaks->n);89 // fprintf (stderr, "footprint: %d x %d : %d pix, %d peaks\n", subImg->numCols, subImg->numRows, fp->npix, (int) fp->peaks->n); 90 90 if ((fp->npix > 30000) && (fp->peaks->n > 10)) { 91 91 … … 286 286 287 287 pmFootprintsFindAtPoint(peakFootprint, peakFPSpans, subImg, subMask, threshold, brightPeaks, peak->y, peak->x); 288 if (peakFPSpans->nStartSpans > 2000) {289 // dumpfootprints(peakFootprint, peakFPSpans);290 // fprintf (stderr, "big footprint %d : %d\n", peakFootprint->nspans, peakFPSpans->nStartSpans);291 fprintf (stderr, "big test footprint: %f %f to %f %f (%d pix)\n", peakFootprint->bbox.x0, peakFootprint->bbox.y0, peakFootprint->bbox.x1, peakFootprint->bbox.y1, peakFootprint->npix);292 }288 // if (peakFPSpans->nStartSpans > 2000) { 289 // // dumpfootprints(peakFootprint, peakFPSpans); 290 // // fprintf (stderr, "big footprint %d : %d\n", peakFootprint->nspans, peakFPSpans->nStartSpans); 291 // // fprintf (stderr, "big test footprint: %f %f to %f %f (%d pix)\n", peakFootprint->bbox.x0, peakFootprint->bbox.y0, peakFootprint->bbox.x1, peakFootprint->bbox.y1, peakFootprint->npix); 292 // } 293 293 294 294 // at this point brightPeaks only has the peaks brighter than the current -
branches/eam_branches/ipp-20110213/psphot/src/psphotFitSourcesLinear.c
r30975 r30988 187 187 psLogMsg ("psphot.ensemble", PS_LOG_MINUTIA, "built fitSources: %f sec (%ld objects)\n", psTimerMark ("psphot.linear"), sources->n); 188 188 189 fprintf (stderr, "****** Nsat : %d ********\n", Nsat);189 // fprintf (stderr, "****** Nsat : %d ********\n", Nsat); 190 190 191 191 if (fitSources->n == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
