IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18581


Ignore:
Timestamp:
Jul 16, 2008, 1:06:10 PM (18 years ago)
Author:
eugene
Message:

additional trace info

File:
1 edited

Legend:

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

    r18554 r18581  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.57 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2008-07-15 20:25:00 $
     7 *  @version $Revision: 1.58 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2008-07-16 23:06:10 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    144144        if (!status) {
    145145            psfTry->mask->data.U8[i] = PSFTRY_MASK_EXT_FAIL;
     146            psTrace ("psModules.objects", 4, "masking %d (%d,%d) : status is poor\n", i, source->peak->x, source->peak->y);
    146147            continue;
    147148        }
     
    161162    psTimerStart ("fit");
    162163    for (int i = 0; i < psfTry->sources->n; i++) {
     164
     165        pmSource *source = psfTry->sources->data[i];
     166
    163167        // masked for: bad model fit, outlier in parameters
    164         if (psfTry->mask->data.U8[i] & PSFTRY_MASK_ALL)
     168        if (psfTry->mask->data.U8[i] & PSFTRY_MASK_ALL) {
     169            psTrace ("psModules.objects", 4, "dropping %d (%d,%d) : source is masked\n", i, source->peak->x, source->peak->y);
    165170            continue;
    166 
    167         pmSource *source = psfTry->sources->data[i];
     171        }
    168172
    169173        // set shape for this model based on PSF
     
    205209        psfTry->metricErr->data.F32[i] = source->errMag;
    206210
     211        psTrace ("psphot.psftry", 6, "keeping source %d (%d) of %ld\n", i, Npsf, psfTry->sources->n);
    207212        Npsf ++;
    208213    }
Note: See TracChangeset for help on using the changeset viewer.