IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26421


Ignore:
Timestamp:
Dec 15, 2009, 6:17:51 PM (16 years ago)
Author:
eugene
Message:

calculate ImageQuality stats and ApResid

File:
1 edited

Legend:

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

    r25755 r26421  
    5757    }
    5858
     59    if (!psphotImageQuality (recipe, sources)) {
     60        psLogMsg("psphot", 3, "failed to measure image quality");
     61        return psphotReadoutCleanup(config, readout, recipe, detections, NULL, sources);
     62    }
     63
    5964    pmPSF *psf = psphotChoosePSF(readout, sources, recipe);
    6065    if (!psf) {
     
    6570    psphotVisualShowPSFModel(readout, psf);
    6671
     72    // measure aperture photometry corrections
     73    if (!psphotApResid (config, readout, sources, psf)) {
     74        psLogMsg ("psphot", 3, "failed on psphotApResid");
     75        return psphotReadoutCleanup (config, readout, recipe, detections, psf, sources);
     76    }
     77
    6778    // drop the references to the image pixels held by each source
    6879    psphotSourceFreePixels(sources);
Note: See TracChangeset for help on using the changeset viewer.