IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32738 for trunk/psphot


Ignore:
Timestamp:
Nov 21, 2011, 8:40:48 PM (15 years ago)
Author:
eugene
Message:

handle apertures with no valid fluxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotRadialProfileWings.c

    r32633 r32738  
    261261        psStatsInit (fluxStats);
    262262        psStatsInit (varStats);
     263
     264        if ((flux->n == 0) || (fluxVar->n == 0)) {
     265            flux->n = 0;
     266            fluxVar->n = 0;
     267            radius += dR;
     268            continue;
     269        }
    263270
    264271        psVectorStats (fluxStats, flux, NULL, NULL, 0);
Note: See TracChangeset for help on using the changeset viewer.