IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15005


Ignore:
Timestamp:
Sep 24, 2007, 6:49:36 PM (19 years ago)
Author:
eugene
Message:

set the field size

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimSetPSF.c

    r14994 r15005  
    3131    }
    3232
     33    // XXX this is messed up:  CHIP.XSIZE and CHIP.YSIZE are not seta
     34    int xSize = psMetadataLookupS32(NULL, chip->concepts, "CHIP.XSIZE");
     35    int ySize = psMetadataLookupS32(NULL, chip->concepts, "CHIP.YSIZE");
     36    xSize = 1000;
     37    ySize = 1000;
     38
    3339    // no spatial variation
    3440    options->psfTrendMode = PM_TREND_POLY_ORD;
    3541    options->psfTrendNx = 0;
    3642    options->psfTrendNy = 0;
     43    options->psfFieldNx = xSize;
     44    options->psfFieldNy = ySize;
    3745
    3846    // generate the psf
     
    4856
    4957    pol = psEllipseAxesToPol (axes);
    50    
    5158   
    5259    param = psf->params->data[PM_PAR_E0];
Note: See TracChangeset for help on using the changeset viewer.