Changeset 6948
- Timestamp:
- Apr 21, 2006, 11:48:52 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotBlendFit.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotBlendFit.c
r6862 r6948 39 39 if (source->moments->SN < FIT_SN_LIM) continue; 40 40 41 // if model is NULL, we don't have a starting guess42 if (source->modelPSF == NULL) continue;43 44 41 if (source->moments->x < AnalysisRegion.x0) continue; 45 42 if (source->moments->y < AnalysisRegion.y0) continue; 46 43 if (source->moments->x > AnalysisRegion.x1) continue; 47 44 if (source->moments->y > AnalysisRegion.y1) continue; 45 46 // if model is NULL, we don't have a starting guess 47 if (source->modelPSF == NULL) continue; 48 49 // skip sources which are insignificant flux? 50 if (source->modelPSF->params->data.F32[1] < 0.1) { 51 psTrace ("psphotBlendFit", 5, "skipping near zero source: %f, %f : %f\n", 52 source->modelPSF->params->data.F32[1], 53 source->modelPSF->params->data.F32[2], 54 source->modelPSF->params->data.F32[3]); 55 continue; 56 } 48 57 49 58 // replace object in image
Note:
See TracChangeset
for help on using the changeset viewer.
