IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23957


Ignore:
Timestamp:
Apr 23, 2009, 4:12:28 PM (17 years ago)
Author:
Paul Price
Message:

Fixing ticket 1220 (assertion violated in psphot): mask NAN pixels.

File:
1 edited

Legend:

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

    r23167 r23957  
    7575                }
    7676
     77                psImageMaskType maskSat = pmConfigMaskGet("SAT", config); // Mask value for saturated pixels
     78                if (!pmReadoutMaskNonfinite(readout, maskSat)) {
     79                    psError(psErrorCodeLast(), false, "Unable to mask non-finite pixels.");
     80                    psFree(view);
     81                    return false;
     82                }
     83
    7784                // run the actual photometry analysis on this chip/cell/readout
    7885                if (!psphotReadout (config, view)) {
Note: See TracChangeset for help on using the changeset viewer.