IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2007, 10:34:30 AM (19 years ago)
Author:
eugene
Message:

finished PSFConvModel code; added structure to carry convolved model data

File:
1 edited

Legend:

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

    r13983 r14338  
    11# include "psphot.h"
    22
    3 psKernel *psphotKernelFromPSF (pmSource *source) {
     3psKernel *psphotKernelFromPSF (pmSource *source, int nPix) {
    44
    55  assert (source);
     
    1010
    1111  // need to decide on the size: dynamically? statically?
    12   psKernel *psf = psKernelAlloc (-1, +1, -1, +1);
     12  psKernel *psf = psKernelAlloc (-nPix, +nPix, -nPix, +nPix);
    1313
    1414  for (int j = psf->yMin; j <= psf->yMax; j++) {
Note: See TracChangeset for help on using the changeset viewer.