IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 2:55:33 PM (21 years ago)
Author:
eugene
Message:

adapted everything to work with pmReadout *readout instead of eamReadout *imdata

File:
1 edited

Legend:

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

    r5986 r6056  
    55//     the 'center' option
    66
    7 bool psphotGrowthCurve (eamReadout *imdata, pmPSF *psf) {
     7bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf) {
    88
    99    // bool status;
     
    1616
    1717    // use this image region
    18     xc = 0.5*imdata->image->numCols;
    19     yc = 0.5*imdata->image->numRows;
     18    xc = 0.5*readout->image->numCols;
     19    yc = 0.5*readout->image->numRows;
    2020    dx = psf->growth->maxRadius + 1;
    2121    dy = psf->growth->maxRadius + 1;
     
    3333    // generate working image for this source
    3434    psRegion region = {xc - dx, xc + dx, yc - dy, yc + dy};
    35     psImage *view = psImageSubset (imdata->image, region);
     35    psImage *view = psImageSubset (readout->image, region);
    3636    psImage *image = psImageCopy (NULL, view, PS_TYPE_F32);
    3737    psImage *mask = psImageCopy (NULL, view, PS_TYPE_U8);
Note: See TracChangeset for help on using the changeset viewer.