IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 9, 2010, 6:15:15 PM (16 years ago)
Author:
Paul Price
Message:

Fix SEGV in measuring the PSF FWHM. I'm guessing this is from the PSF not being defined at the centre of the image, so now I measure it over the various areas of the image and take the average.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/objects/pmPSF.c

    r26669 r26832  
    415415
    416416    pmModel *model = pmModelFromPSFforXY(psf, x, y, 1.0); // Model of source
     417    if (!model) {
     418        psError(PS_ERR_UNKNOWN, false, "Unable to determine PSF model at %f,%f\n", x, y);
     419        return NAN;
     420    }
    417421    psF32 *params = model->params->data.F32; // Model parameters
    418422    psEllipseAxes axes = pmPSF_ModelToAxes(params, MAX_AXIS_RATIO); // Ellipse axes
Note: See TracChangeset for help on using the changeset viewer.