IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2010, 12:20:26 PM (16 years ago)
Author:
eugene
Message:

thread the extended source analysis; update pmSourcePhotometry API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psphot/src/psphotSourceSize.c

    r28702 r28911  
    370370                 source->psfMag, apMag, dMag, source->errMag, nSigmaMAG, nSigmaMXX, nSigmaMYY);
    371371
    372         // partially-masked sources are more likely to be mis-measured PSFs
     372        // XXX double check on ths stuff!! partially-masked sources are more likely to be mis-measured PSFs
    373373        float sizeBias = 1.0;
    374         if (source->pixWeight < 0.9) {
     374        if (source->pixWeightNotBad < 0.9) {
     375            sizeBias = 3.0;
     376        }
     377        if (source->pixWeightNotPoor < 0.9) {
    375378            sizeBias = 3.0;
    376379        }
     
    407410        if (isCR) {
    408411            psTrace("psphotSourceClassRegion.CR",4,"CLASS: %g %g %f\t%g %g  %g %g  %g %g\t%g %g\t%g CR\t%g %g\n",
    409                     source->peak->xf,source->peak->yf,source->pixWeight,Mxx,Myy,psfClump->X,psfClump->Y,psfClump->dX,psfClump->dY,apMag,dMag,nSigmaMAG,
     412                    source->peak->xf,source->peak->yf,source->pixWeightNotBad,Mxx,Myy,psfClump->X,psfClump->Y,psfClump->dX,psfClump->dY,apMag,dMag,nSigmaMAG,
    410413                    options->nSigmaApResid,sizeBias*options->nSigmaMoments);
    411414            source->mode |= PM_SOURCE_MODE_DEFECT;
Note: See TracChangeset for help on using the changeset viewer.