Changeset 5048 for trunk/psphot/src/psphotApplyPSF.c
- Timestamp:
- Sep 13, 2005, 3:35:20 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotApplyPSF.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotApplyPSF.c
r4977 r5048 39 39 // skip non-astronomical objects (very likely defects) 40 40 // XXX EAM : should we try these anyway? 41 if (source->type == P S_SOURCE_DEFECT) continue;42 if (source->type == P S_SOURCE_SATURATED) continue;41 if (source->type == PM_SOURCE_DEFECT) continue; 42 if (source->type == PM_SOURCE_SATURATED) continue; 43 43 44 44 // use the source moments, etc to guess basic model parameters … … 65 65 } 66 66 67 if (i > 66) psTraceSetLevel (".psLib.dataManip.psMinimizeLMChi2", 5);67 // if (i > 66) psTraceSetLevel (".psLib.dataManip.psMinimizeLMChi2", 5); 68 68 69 69 // fit PSF model (set/unset the pixel mask) … … 73 73 if (!status || (model->params->data.F32[1] < 0)) { 74 74 psLogMsg ("psphot", 3, "PSF fit failed for %f, %f (%d iterations)\n", x, y, model->nIter); 75 source->type = P S_SOURCE_FAIL_FIT_PSF; // better choice?75 source->type = PM_SOURCE_FAIL_FIT_PSF; // better choice? 76 76 psFree (model); 77 77 continue;
Note:
See TracChangeset
for help on using the changeset viewer.
