IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14940


Ignore:
Timestamp:
Sep 20, 2007, 2:10:28 PM (19 years ago)
Author:
eugene
Message:

change some psF64 to double

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotChoosePSF.c

    r14655 r14940  
    236236        FILE *f = fopen ("shapes.dat", "w");
    237237        for (int i = 0; i < try->sources->n; i++) {
    238             psF32 inPar[10];
     238            psF32 inPar[10];  // must be psF32 to pmPSF_FitToModel
    239239
    240240            // masked for: bad model fit, outlier in parameters
     
    323323
    324324    // get the model full-width at half-max
    325     psF64 FWHM_X = 2*modelPSF->modelRadius (modelPSF->params, 0.5);
     325    double FWHM_X = 2*modelPSF->modelRadius (modelPSF->params, 0.5);
    326326
    327327    // XXX make sure this is consistent with the re-definition of PM_PAR_SXX
     
    331331    axes = psEllipseShapeToAxes (shape, 20.0);
    332332
    333     psF64 FWHM_Y = FWHM_X * (axes.minor / axes.major);
     333    double FWHM_Y = FWHM_X * (axes.minor / axes.major);
    334334
    335335    psMetadataAddF32 (recipe, PS_LIST_TAIL, "FWHM_X",   PS_META_REPLACE, "PSF FWHM Major axis", FWHM_X);
Note: See TracChangeset for help on using the changeset viewer.