Changeset 29015
- Timestamp:
- Aug 23, 2010, 7:30:13 AM (16 years ago)
- Location:
- trunk/psphot/src
- Files:
-
- 2 edited
-
psphotExtendedSourceFits.c (modified) (1 diff)
-
psphotSourceFits.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotExtendedSourceFits.c
r29004 r29015 288 288 // save the modelFlux here in case we need to subtract it (for failure) 289 289 psImage *modelFluxStart = psMemIncrRefCounter (source->modelFlux); 290 if (!modelFluxStart) { 291 // XXX raise an error of some kind? 292 continue; 293 } 290 294 291 295 if (savePics) { -
trunk/psphot/src/psphotSourceFits.c
r29004 r29015 675 675 } 676 676 677 # if (0) 677 678 pmSourceFitModel (source, model, &options, maskVal); 679 # else 680 pmSourceModelGuessPCM(pcm, source, maskVal, markVal); 681 pmSourceFitPCM (pcm, source, &options, maskVal, markVal, psfSize); 682 # endif 678 683 fprintf (stderr, "chisq: %f, nIter: %d, radius: %f, npix: %d\n", model->chisqNorm, model->nIter, model->fitRadius, model->nPix); 679 680 // pmSourceModelGuessPCM(pcm, source, maskVal, markVal);681 // pmSourceFitPCM (pcm, source, &options, maskVal, markVal, psfSize);682 684 683 685 chiSquare[i] = model->chisq;
Note:
See TracChangeset
for help on using the changeset viewer.
