IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 18, 2010, 4:11:53 PM (16 years ago)
Author:
eugene
Message:

merge changes from branches/eam_branches/psphot,psModules.20100506 (finish basic psphotStack)

Location:
trunk/psphot
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot

  • trunk/psphot/src/psphotPetrosianStats.c

    r27819 r28013  
    1515
    1616    pmSourceRadialProfile *profile = source->extpars->petProfile;
     17
     18    if (!profile->binSB) {
     19        psLogMsg ("psphot", PS_LOG_DETAIL, "no petrosian profile, skipping source %f, %f", source->peak->xf, source->peak->yf);
     20        return true;
     21    }
    1722
    1823    psVector *binSB      = profile->binSB;
     
    190195    source->extpars->petrosianR90Err    = NAN;
    191196
    192     fprintf (stderr, "source @ %f,%f\n", source->peak->xf, source->peak->yf);
     197    // fprintf (stderr, "source @ %f,%f\n", source->peak->xf, source->peak->yf);
    193198    psphotPetrosianVisualStats (binRad, binSB, refRadius, meanSB, petRatio, petRatioErr, fluxSum, petRadius, PETROSIAN_RATIO, petFlux, apRadius);
    194199
Note: See TracChangeset for help on using the changeset viewer.