IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 14, 2010, 10:21:12 AM (17 years ago)
Author:
eugene
Message:

pmSourceMoments now takes the image mask; it is not not an error to find no peaks in an image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotReadoutMinimal.c

    r26542 r26596  
    5151    detections = psphotFindDetections(detections, readout, recipe);
    5252    if (!detections) {
     53        psError (PSPHOT_ERR_UNKNOWN, false, "failure in peak analysis");
     54        return psphotReadoutCleanup (config, readout, recipe, detections, psf, NULL);
     55    }
     56    if (!detections->peaks->n) {
    5357        psLogMsg ("psphot", 3, "unable to find detections in this image");
    5458        return psphotReadoutCleanup (config, readout, recipe, detections, psf, NULL);
Note: See TracChangeset for help on using the changeset viewer.