- Timestamp:
- Jul 9, 2010, 10:56:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20100621/psphot/src/psphotChoosePSF.c
r28013 r28643 74 74 75 75 // structure to store user options defining the psf 76 pmPSFOptions *options = pmPSFOptionsAlloc ();76 pmPSFOptions *options = pmPSFOptionsAlloc(); 77 77 78 78 // load user options from the recipe. no need to check existence -- they are … … 143 143 return false; 144 144 } 145 pmSourceFitModelInit(fitIter, fitTol, PS_SQR(SKY_SIG), options->poissonErrorsPhotLMM); 146 145 146 // options which modify the behavior of the model fitting 147 options->fitOptions = pmSourceFitOptionsAlloc(); 148 options->fitOptions->nIter = fitIter; 149 options->fitOptions->tol = fitTol; 150 options->fitOptions->poissonErrors = options->poissonErrorsPhotLMM; 151 options->fitOptions->weight = PS_SQR(SKY_SIG); 152 options->fitOptions->mode = PM_SOURCE_FIT_PSF; 153 147 154 psArray *stars = psArrayAllocEmpty (sources->n); 148 155
Note:
See TracChangeset
for help on using the changeset viewer.
