IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 1, 2011, 6:21:28 PM (15 years ago)
Author:
eugene
Message:

fix threading for psphotStack; use standard PS_ARGUMENTS_ macros for ppSub, ppStack, pswarp, ppImage, psphotStack; fix FPA.EXPOSURE in ppImageAddNoise; fix accounting for psf bad and poor weights; added flags for substantial poor masks due to each poor mask bit type; fix the measurement of the fwhm in pmPSFtoFWHM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/objects/pmPSF.c

    r29004 r30772  
    430430        return NAN;
    431431    }
     432
     433    // get the model full-width at half-max
     434    float fwhmMajor = 2*model->modelRadius (model->params, 0.5);
     435
     436# if (0)
    432437    psF32 *params = model->params->data.F32; // Model parameters
    433438    psEllipseAxes axes = pmPSF_ModelToAxes(params, MAX_AXIS_RATIO); // Ellipse axes
     
    439444
    440445    return fwhm;
    441 }
     446# else
     447
     448    psFree(model);
     449
     450    return fwhmMajor;
     451# endif
     452}
Note: See TracChangeset for help on using the changeset viewer.