IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42488 for trunk/psphot/src


Ignore:
Timestamp:
Aug 5, 2023, 3:10:18 PM (3 years ago)
Author:
eugene
Message:

do not attempt to mask the cosmic rays if we do not have a footprint

File:
1 edited

Legend:

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

    r41705 r42488  
    689689
    690690        // XXX this is running slowly and is too agressive, but it more-or-less works
     691        // XXX EAM : note that injected sources do not normally have a footprint to use in masking
    691692        psTrace("psphot", 6, "mask cosmic ray at %f, %f\n", source->peak->xf, source->peak->yf);
    692         if (options->applyCRmask) {
     693        if (options->applyCRmask && source->peak->footprint) {
    693694            psphotMaskCosmicRay(readout, source, options->crMask, options->maxWindowCR);
    694695        } else {
Note: See TracChangeset for help on using the changeset viewer.