IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 3, 2007, 7:30:04 AM (19 years ago)
Author:
rhl
Message:

Add check for no surviving PSF candidates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel-1_0/psModules/src/objects/pmPSFtry.c

    r12341 r12714  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.34.2.1 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-03-08 23:27:24 $
     7 *  @version $Revision: 1.34.2.2 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2007-04-03 17:30:04 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    139139    psTrace ("psphot.psftry", 3, "keeping %d of %ld PSF candidates (EXT)\n", Next, sources->n);
    140140
     141    if (Next == 0) {
     142        psError(PS_ERR_UNKNOWN, true, "PSFTRY_MASK_EXT_FAIL is set for all candidate PSFs");
     143        return NULL;
     144    }
     145
    141146    // stage 2: construct a psf (pmPSF) from this collection of model fits
    142147    if (!pmPSFFromPSFtry (psfTry, applyWeights)) {
Note: See TracChangeset for help on using the changeset viewer.