IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 21, 2006, 4:56:17 AM (20 years ago)
Author:
rhl
Message:

Detect PSF problems

File:
1 edited

Legend:

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

    r8139 r8437  
    3636    }
    3737    psLogMsg ("psphot.pspsf", 4, "selected candidate %d PSF objects\n", stars->n);
     38
     39    if (stars->n == 0) {
     40        psError(PSPHOT_ERR_PSF, true, "Failed to find any PSF candidates");
     41        return NULL;
     42    }
    3843
    3944    // get the fixed PSF fit radius
Note: See TracChangeset for help on using the changeset viewer.