Changeset 28971
- Timestamp:
- Aug 19, 2010, 4:08:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceMoments.c
r28643 r28971 145 145 psF32 wDiff = *vWgt; 146 146 147 // skip pixels below specified significance level. this is allowed, but should be 148 // avoided -- the over-weights the wings of bright stars compared to those of faint 149 // stars. 150 if (PS_SQR(pDiff) < minSN2*wDiff) continue; 151 // if (pDiff < 0) continue; // XXX : MWV says I should include < 0.0 valued points... 147 // skip pixels below specified significance level. for a PSFs, this 148 // over-weights the wings of bright stars compared to those of faint stars. 149 // for the estimator used for extended source analysis (where the window 150 // function is allowed to be arbitrarily large), we need to clip to avoid 151 // negative second moments. 152 if (PS_SQR(pDiff) < minSN2*wDiff) continue; // 153 if ((minSN > 0.0) && (pDiff < 0)) continue; // 152 154 153 155 // Apply a Gaussian window function. Be careful with the window function. S/N
Note:
See TracChangeset
for help on using the changeset viewer.
