- Timestamp:
- Jul 18, 2010, 2:59:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourcePhotometry.c
r28643 r28687 390 390 # define FLUX_LIMIT 3.0 391 391 392 // return source aperture magnitude393 bool pmSourceMeasureDiffStats (pmSource *source, psImageMaskType maskVal )392 // measure stats that may be using in difference images for distinguishing real sources from bad residuals 393 bool pmSourceMeasureDiffStats (pmSource *source, psImageMaskType maskVal, psImageMaskType markVal) 394 394 { 395 395 PS_ASSERT_PTR_NON_NULL(source, false); … … 411 411 for (int iy = 0; iy < flux->numRows; iy++) { 412 412 for (int ix = 0; ix < flux->numCols; ix++) { 413 // only count up the stats in the unmarked region (ie, the aperture) 414 if (mask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] & markVal) { 415 continue; 416 } 413 417 if (mask->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix] & maskVal) { 414 418 nMask ++;
Note:
See TracChangeset
for help on using the changeset viewer.
