IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 23, 2007, 5:02:22 PM (19 years ago)
Author:
eugene
Message:

converted pmPSF to use pmTrend2D to represent psf parameters

File:
1 edited

Legend:

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

    r14986 r14992  
    5454
    5555    options->stats = psStatsAlloc (PS_STAT_ROBUST_MEDIAN | PS_STAT_ROBUST_STDEV);
    56     options->image = psMemIncrRefCounter (readout->image);
     56
     57    // dimensions of the field for which the PSF is defined
     58    options->psfFieldNx = readout->image->numCols;
     59    options->psfFieldNy = readout->image->numRows;
     60    options->psfFieldXo = readout->image->col0;
     61    options->psfFieldYo = readout->image->row0;
    5762
    5863    pmSourceFitModelInit (15, 0.01, PS_SQR(SKY_SIG), options->poissonErrorsPhotLMM);
     
    309314    psLogMsg ("psphot.pspsf", PS_LOG_INFO, "psf model %s, ApResid: %f +/- %f\n", modelName, psf->ApResid, psf->dApResid);
    310315
     316    psFree (options);
    311317    return (psf);
    312318}
Note: See TracChangeset for help on using the changeset viewer.