IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 13, 2007, 12:09:35 PM (18 years ago)
Author:
Paul Price
Message:

Checking in version that should allow ppStack to compile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSource.c

    r15811 r15814  
    66 *  @author EAM, IfA: significant modifications.
    77 *
    8  *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2007-12-13 21:45:08 $
     8 *  @version $Revision: 1.47 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2007-12-13 22:09:35 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    703703                if (*vMsk) {
    704704                    vMsk++;
     705                    psTrace("psModules.objects", 10, "Ignoring pixel %d,%d due to mask: %d\n",
     706                            col, row, (int)*vMsk);
    705707                    continue;
    706708                }
     
    713715            // radius is just a function of (xDiff, yDiff)
    714716            if (!VALID_RADIUS(xDiff, yDiff, R2)) {
     717#if 1
     718                psTrace("psModules.objects", 10, "Ignoring pixel %d,%d due to position: %f %f\n",
     719                        col, row, xDiff, yDiff);
     720#endif
    715721                continue;
    716722            }
     
    722728            // XXX EAM : should this limit be user-defined?
    723729            if (PS_SQR(pDiff) < wDiff) {
     730#if 1
     731                psTrace("psModules.objects", 10, "Ignoring pixel %d,%d due to insignificance: %f, %f\n",
     732                        col, row, pDiff, wDiff);
     733#endif
    724734                continue;
    725735            }
     
    746756    // XXX EAM - the limit is a bit arbitrary.  make it user defined?
    747757    if ((numPixels < 0.75*R2) || (Sum <= 0)) {
    748         psTrace ("psModules.objects", 3, "no valid pixels for source\n");
     758        psTrace ("psModules.objects", 3, "insufficient valid pixels (%d vs %d; %f) for source\n",
     759                 numPixels, (int)(0.75*R2), Sum);
    749760        psTrace("psModules.objects", 5, "---- end (false) ----\n");
    750761        return (false);
Note: See TracChangeset for help on using the changeset viewer.