Changeset 6715 for trunk/psphot/src/psphotGrowthCurve.c
- Timestamp:
- Mar 27, 2006, 4:31:17 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotGrowthCurve.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotGrowthCurve.c
r6379 r6715 16 16 17 17 // 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; 20 20 dx = psf->growth->maxRadius + 1; 21 21 dy = psf->growth->maxRadius + 1; … … 45 45 radius = psf->growth->radius->data.F32[i]; 46 46 47 psImageKeepCircle (mask, xc, yc, radius, "OR", P SPHOT_MASK_MARKED);47 psImageKeepCircle (mask, xc, yc, radius, "OR", PM_SOURCE_MASK_MARKED); 48 48 49 pm SourceAddModel(image, mask, model, false, false);49 pmModelAdd (image, mask, model, false, false); 50 50 51 pmSourcePhotometry (&fitMag,&apMag, model, image, mask);51 pmSourcePhotometryAper (&apMag, model, image, mask); 52 52 53 psImageKeepCircle (mask, xc, yc, radius, "AND", ~P SPHOT_MASK_MARKED);53 psImageKeepCircle (mask, xc, yc, radius, "AND", ~PM_SOURCE_MASK_MARKED); 54 54 55 55 psf->growth->apMag->data.F32[i] = apMag; 56 56 } 57 pmSourcePhotometryModel (&fitMag, model); 57 58 psf->growth->fitMag = fitMag; 58 59
Note:
See TracChangeset
for help on using the changeset viewer.
