IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2006, 4:31:17 PM (20 years ago)
Author:
eugene
Message:

substantial work on the pmFPAfile,view concepts

File:
1 edited

Legend:

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

    r6379 r6715  
    1616
    1717    // use center of the image
    18     xc = 0.5*(readout->image->numCols + readout->image->col0);
    19     yc = 0.5*(readout->image->numRows + readout->image->row0);
     18    xc = 0.5*readout->image->numCols + readout->image->col0;
     19    yc = 0.5*readout->image->numRows + readout->image->row0;
    2020    dx = psf->growth->maxRadius + 1;
    2121    dy = psf->growth->maxRadius + 1;
     
    4545        radius = psf->growth->radius->data.F32[i];
    4646
    47         psImageKeepCircle (mask, xc, yc, radius, "OR", PSPHOT_MASK_MARKED);
     47        psImageKeepCircle (mask, xc, yc, radius, "OR", PM_SOURCE_MASK_MARKED);
    4848
    49         pmSourceAddModel (image, mask, model, false, false);
     49        pmModelAdd (image, mask, model, false, false);
    5050
    51         pmSourcePhotometry (&fitMag, &apMag, model, image, mask);
     51        pmSourcePhotometryAper (&apMag, model, image, mask);
    5252
    53         psImageKeepCircle (mask, xc, yc, radius, "AND", ~PSPHOT_MASK_MARKED);
     53        psImageKeepCircle (mask, xc, yc, radius, "AND", ~PM_SOURCE_MASK_MARKED);
    5454
    5555        psf->growth->apMag->data.F32[i] = apMag;
    5656    }
     57    pmSourcePhotometryModel (&fitMag, model);
    5758    psf->growth->fitMag = fitMag;
    5859
Note: See TracChangeset for help on using the changeset viewer.