Changeset 26426
- Timestamp:
- Dec 15, 2009, 6:21:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psModules/src/objects/pmSourceMoments.c
r25979 r26426 135 135 // stars. 136 136 if (PS_SQR(pDiff) < minSN2*wDiff) continue; 137 if (pDiff < 0) continue; // XXX : MWV says I should include < 0.0 valued points...137 // if (pDiff < 0) continue; // XXX : MWV says I should include < 0.0 valued points... 138 138 139 139 // Apply a Gaussian window function. Be careful with the window function. S/N … … 249 249 // stars. 250 250 if (PS_SQR(pDiff) < minSN2*wDiff) continue; 251 if (pDiff < 0) continue;251 // if (pDiff < 0) continue; 252 252 253 253 // Apply a Gaussian window function. Be careful with the window function. S/N … … 315 315 source->moments->Myyyy = YYYY/Sum; 316 316 317 if (source->moments->Mxx < 0) {318 fprintf (stderr, "error: neg second moment??\n");319 }320 if (source->moments->Myy < 0) {321 fprintf (stderr, "error: neg second moment??\n");322 }317 // if (source->moments->Mxx < 0) { 318 // fprintf (stderr, "error: neg second moment??\n"); 319 // } 320 // if (source->moments->Myy < 0) { 321 // fprintf (stderr, "error: neg second moment??\n"); 322 // } 323 323 324 324 psTrace ("psModules.objects", 4, "Mxx: %f Mxy: %f Myy: %f Mxxx: %f Mxxy: %f Mxyy: %f Myyy: %f Mxxxx: %f Mxxxy: %f Mxxyy: %f Mxyyy: %f Mxyyy: %f\n",
Note:
See TracChangeset
for help on using the changeset viewer.
