- Timestamp:
- Jan 14, 2010, 10:21:12 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psphot/src/psphotSourceStats.c
r26317 r26596 325 325 326 326 // measure basic source moments (no S/N clipping on input pixels) 327 status = pmSourceMoments (source, RADIUS, SIGMA, 0.0 );327 status = pmSourceMoments (source, RADIUS, SIGMA, 0.0, maskVal); 328 328 if (status) { 329 329 Nmoments ++; … … 335 335 BIG_RADIUS = PS_MIN (INNER, 3*RADIUS); 336 336 psTrace ("psphot", 4, "retrying moments for %d, %d\n", source->peak->x, source->peak->y); 337 status = pmSourceMoments (source, BIG_RADIUS, 3.0*SIGMA, 0.0 );337 status = pmSourceMoments (source, BIG_RADIUS, 3.0*SIGMA, 0.0, maskVal); 338 338 if (status) { 339 339 source->mode |= PM_SOURCE_MODE_BIG_RADIUS; … … 394 394 395 395 // measure basic source moments (no S/N clipping on input pixels) 396 status = pmSourceMoments (source, 4*sigma[i], sigma[i], 0.0 );396 status = pmSourceMoments (source, 4*sigma[i], sigma[i], 0.0, 0xffff); 397 397 } 398 398
Note:
See TracChangeset
for help on using the changeset viewer.
