Changeset 18438
- Timestamp:
- Jul 9, 2008, 9:54:05 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotGrowthCurve.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotGrowthCurve.c
r14655 r18438 7 7 // XXX add a option to turn off the curve-of-growth (ie, make the apMag = fitMag everywhere); 8 8 9 bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf, bool ignore, psMaskType maskVal ) {9 bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf, bool ignore, psMaskType maskVal, psMaskType markVal) { 10 10 11 11 // bool status; … … 44 44 45 45 // NOTE: we use pmModelAdd not pmSourceAdd because we are not working with a normal source 46 psImageKeepCircle (mask, xc, yc, radius, "OR", PM_MASK_MARK);46 psImageKeepCircle (mask, xc, yc, radius, "OR", markVal); 47 47 pmModelAdd (image, mask, model, PM_MODEL_OP_FULL, maskVal); 48 48 pmSourcePhotometryAper (&apMag, model, image, mask, maskVal); 49 psImageKeepCircle (mask, xc, yc, radius, "AND", PS_NOT_U8( PM_MASK_MARK));49 psImageKeepCircle (mask, xc, yc, radius, "AND", PS_NOT_U8(markVal)); 50 50 51 51 // the 'ignore' mode is for testing
Note:
See TracChangeset
for help on using the changeset viewer.
