Changeset 10203 for trunk/psphot/src/psphotSourceFits.c
- Timestamp:
- Nov 26, 2006, 12:38:36 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceFits.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceFits.c
r10168 r10203 80 80 // if this one failed, skip it 81 81 if (!psphotEvalPSF (blend, model)) { 82 psTrace ("psphot", 5, "failed on blend %d of %ld\n", i, modelSet->n);82 psTrace ("psphot", 4, "failed on blend %d of %ld\n", i, modelSet->n); 83 83 continue; 84 84 } … … 92 92 blend->mode &= ~PM_SOURCE_MODE_TEMPSUB; 93 93 } 94 // evaluate the primary object 95 if (!psphotEvalPSF (source, PSF)) { 96 psTrace ("psphot", 4, "failed on blend 0 of %ld\n", modelSet->n); 97 psFree (PSF); 98 psFree (modelSet); 99 psFree (sourceSet); 100 return false; 101 } 94 102 psFree (modelSet); 95 103 psFree (sourceSet); 96 97 // evaluate the primary object98 if (!psphotEvalPSF (source, PSF)) {99 psTrace ("psphot", 5, "failed on blend 0 of %ld\n", modelSet->n);100 psFree (PSF);101 return false;102 }103 104 104 105 psTrace ("psphot", 5, "fitted primary as PSF\n"); … … 210 211 211 212 // save chisq for double-star/galaxy comparison 212 chiDBL = ONE->chisq Norm;213 chiDBL = ONE->chisq / ONE->nDOF; 213 214 214 215 // correct second model chisqs for flux trend
Note:
See TracChangeset
for help on using the changeset viewer.
