Changeset 4954 for trunk/psphot/src/pspsf.c
- Timestamp:
- Sep 6, 2005, 5:33:01 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/pspsf.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/pspsf.c
r4949 r4954 31 31 } 32 32 33 p _psMemSetDeallocator(psf, (psFreeFcn) pmPSFFree);33 psMemSetDeallocator(psf, (psFreeFunc) pmPSFFree); 34 34 return(psf); 35 35 } … … 74 74 } 75 75 76 p _psMemSetDeallocator(test, (psFreeFcn) pmPSF_TestFree);76 psMemSetDeallocator(test, (psFreeFunc) pmPSF_TestFree); 77 77 return (test); 78 78 } … … 106 106 // set temporary object mask and fit object 107 107 // fit model as FLT, not PSF 108 psImageKeepCircle (source->mask, x, y, RADIUS, OR, 0x80);108 psImageKeepCircle (source->mask, x, y, RADIUS, "OR", PSPHOT_MASK_MARKED); 109 109 status = pmSourceFitModel (source, model, false); 110 psImageKeepCircle (source->mask, x, y, RADIUS, AND, 0x7f);110 psImageKeepCircle (source->mask, x, y, RADIUS, "AND", ~PSPHOT_MASK_MARKED); 111 111 112 112 // exclude the poor fits … … 142 142 y = source->peak->y; 143 143 144 psImageKeepCircle (source->mask, x, y, RADIUS, OR, 0x80);144 psImageKeepCircle (source->mask, x, y, RADIUS, "OR", PSPHOT_MASK_MARKED); 145 145 status = pmSourceFitModel (source, modelPSF, true); 146 146 … … 168 168 169 169 next_source: 170 psImageKeepCircle (source->mask, x, y, RADIUS, AND, 0x7f);170 psImageKeepCircle (source->mask, x, y, RADIUS, "AND", ~PSPHOT_MASK_MARKED); 171 171 172 172 }
Note:
See TracChangeset
for help on using the changeset viewer.
