IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35631


Ignore:
Timestamp:
Jun 5, 2013, 11:24:39 AM (13 years ago)
Author:
eugene
Message:

track pixels used when replacing sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130509/psphot/src/psphotReplaceUnfit.c

    r34704 r35631  
    7777    // maskVal is used to test for rejected pixels, and must include markVal
    7878    maskVal |= markVal;
     79
     80    int NpixTotal = 0;
    7981
    8082    for (int i = 0; i < sources->n; i++) {
     
    99101
    100102        pmSourceAdd (source, PM_MODEL_OP_FULL, maskVal);
     103        NpixTotal += source->pixels->numCols * source->pixels->numRows;
    101104    }
    102105
    103106    psphotVisualShowImage(readout);
    104     psLogMsg ("psphot.replace", PS_LOG_INFO, "replaced models for %ld objects: %f sec\n", sources->n, psTimerMark ("psphot.replace"));
     107    psLogMsg ("psphot.replace", PS_LOG_INFO, "replaced models for %ld objects: %f sec (%d pixels)\n", sources->n, psTimerMark ("psphot.replace"), NpixTotal);
    105108    return true;
    106109}
Note: See TracChangeset for help on using the changeset viewer.