IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2008, 2:44:55 PM (18 years ago)
Author:
eugene
Message:

do not add noise for sources with nonsensical fluxes

File:
1 edited

Legend:

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

    r16820 r18001  
    6969        oldshape.sxy = PAR[PM_PAR_SXY];
    7070
     71        // XXX can this be done more intelligently?
     72        if (oldI0 == 0.0) continue;
     73        if (!isfinite(oldI0)) continue;
     74
    7175        // increase size and height of source
    7276        axes = psEllipseShapeToAxes (oldshape, 20.0);
Note: See TracChangeset for help on using the changeset viewer.