Changeset 33435 for trunk/psModules
- Timestamp:
- Mar 7, 2012, 11:28:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionStamps.c
r31543 r33435 1208 1208 // XXX this is somewhat arbitrary... 1209 1209 if (source->psfMagErr > 0.05) continue; 1210 if (fabs(source->psfMag - source->apMag) > 0.5) continue; 1210 if (isfinite(source->apMag)) { 1211 if (fabs(source->psfMag - source->apMag) > 0.5) continue; 1212 } else if (isfinite(source->apMagRaw)) { 1213 if (fabs(source->psfMag - source->apMagRaw) > 0.5) continue; 1214 } else { 1215 // XXX: Should we carry on or drop this source? 1216 // drop it for now 1217 continue; 1218 } 1211 1219 1212 1220 if (source->modelPSF) {
Note:
See TracChangeset
for help on using the changeset viewer.
