IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 14, 2012, 6:10:32 PM (14 years ago)
Author:
watersc1
Message:

Still doesn't work correctly. I've simplified and corrected the problems I was having before, but I still have residuals of ~50 pixels in the warped background model relative to the science warp. I'm beginning to think that there's some issue with the interpolated background model, and that it's not quite the correct size? That's pretty much all I can think of at this point.

Location:
branches/czw_branch/20120906/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20120906/psModules/src/objects/Makefile.am

    r34403 r34442  
    111111        pmSourceOutputs.h \
    112112        pmSourceIO.h \
     113        pmSourceSatstar.h \
    113114        pmSourcePlots.h \
    114115        pmSourceVisual.h \
  • branches/czw_branch/20120906/psModules/src/objects/pmFootprintCullPeaks.c

    r34198 r34442  
    9191
    9292        // max flux is above threshold for brightest peak
    93         pmPeak *maxPeak = fp->peaks->data[0];
     93      pmPeak *maxPeak = NULL;
     94      for (int i = 0; i < fp->peaks->n; i++) {
     95        pmPeak *testPeak = fp->peaks->data[i];
     96        float this_peak = useSmoothedImage ? testPeak->smoothFlux : testPeak->rawFlux;
     97       
     98        if (isfinite(this_peak)) {
     99          maxPeak = fp->peaks->data[i];
     100          break;
     101        }
     102      }
     103      psAssert(maxPeak,"maxPeak was not set in these peaks");
     104      //      = fp->peaks->data[0];
    94105        float maxFlux = useSmoothedImage ? maxPeak->smoothFlux : maxPeak->rawFlux;
    95106
Note: See TracChangeset for help on using the changeset viewer.