IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12946


Ignore:
Timestamp:
Apr 20, 2007, 2:17:30 PM (19 years ago)
Author:
eugene
Message:

error-check psphotMakeResiduals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_02_branch/psphot/src/psphotChoosePSF.c

    r12933 r12946  
    155155    try = models->data[bestN];
    156156
    157     // XXX calculate the PSF residual table here (and add to the pmPSF structure)
    158 
    159157    // measure and save the median value of dparams[PM_PAR_SXX],dparams[PM_PAR_SYY]
    160158    // these are used by psphotEvalPSF to identify extended sources
     
    224222
    225223    // build a PSF residual image
    226     psphotMakeResiduals (try->sources, recipe, try->psf);
     224    if (!psphotMakeResiduals (try->sources, recipe, try->psf)) {
     225        psError(PSPHOT_ERR_PSF, false, "Unable to construct residual table for PSF");
     226        return NULL;
     227    }
    227228
    228229    // XXX test dump of psf star data and psf-subtracted image
Note: See TracChangeset for help on using the changeset viewer.