- Timestamp:
- Aug 26, 2013, 6:03:17 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130711/psphot/src/psphotSourceFits.c
r36032 r36033 558 558 } 559 559 560 # define TIMING 1560 # define TIMING 0 561 561 562 562 bool psphotSersicModelGuessPCM (pmPCMdata *pcm, pmSource *source, psImageMaskType maskVal, float psfSize); … … 759 759 760 760 // float indexGuessInv[] = {0.5, 0.33, 0.25, 0.167, 0.125, 0.083}; 761 float indexGuessInv[] = {0.5, 0. 25, 0.167, 0.125};762 # define N_INDEX_GUESS_INV 4763 764 float reffGuess[] = {3.0, 10.0, 30.0};765 # define N_REFF_GUESS 3761 float indexGuessInv[] = {0.5, 0.4, 0.3, 0.25, 0.20, 0.15, 0.125}; 762 # define N_INDEX_GUESS_INV 7 763 764 float reffGuess[] = {3.0, 10.0, 20.0, 30.0, 40.0}; 765 # define N_REFF_GUESS 5 766 766 767 767 // A sersic model is very sensitive to the index. attempt to find the index first by grid search in just the index … … 882 882 rMin = reffGuess[j]; 883 883 } 884 fprintf (stderr, "%d | %f %f %f %f | %f %f %f %f", i, indexGuessInv[i], reffGuess[j], Io, Chisq, sMin, rMin, iMin, xMin);885 fprintf (stderr, "\n");884 // fprintf (stderr, "%d | %f %f %f %f | %f %f %f %f", i, indexGuessInv[i], reffGuess[j], Io, Chisq, sMin, rMin, iMin, xMin); 885 // fprintf (stderr, "\n"); 886 886 } 887 887 }
Note:
See TracChangeset
for help on using the changeset viewer.
