Changeset 35769 for trunk/psphot/src/psphotChoosePSF.c
- Timestamp:
- Jul 3, 2013, 2:43:13 PM (13 years ago)
- Location:
- trunk/psphot
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130509/psphot (added) merged: 35594,35614,35630-35634,35640-35641,35650-35652,35654-35655,35659,35661,35701,35751
- Property svn:mergeinfo changed
-
trunk/psphot/src
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20130509/psphot/src (added) merged: 35594,35614,35630-35634,35640,35651,35654,35659,35661,35751
- Property svn:mergeinfo changed
-
trunk/psphot/src/psphotChoosePSF.c
r34317 r35769 158 158 } 159 159 float maxChisqDOF = psMetadataLookupF32 (&status, recipe, "PSF_FIT_MAX_CHISQ"); // Fit tolerance 160 161 bool chisqConvergence = psMetadataLookupBool (&status, recipe, "LMM_FIT_CHISQ_CONVERGENCE"); // Fit tolerance 162 if (!status) { 163 // default to the old method (chisqConvergence) 164 chisqConvergence = true; 165 } 166 167 int gainFactorMode = psMetadataLookupS32 (&status, recipe, "LMM_FIT_GAIN_FACTOR_MODE"); // Fit tolerance 168 if (!status) { 169 // default to the old method (chisqConvergence) 170 gainFactorMode = 0; 171 } 160 172 161 173 // options which modify the behavior of the model fitting … … 169 181 options->fitOptions->mode = PM_SOURCE_FIT_PSF; 170 182 options->fitOptions->covarFactor = psImageCovarianceFactorForAperture(readout->covariance, 10.0); // Covariance matrix 171 172 183 184 options->fitOptions->gainFactorMode = gainFactorMode; 185 options->fitOptions->chisqConvergence = chisqConvergence; 186 173 187 psArray *stars = psArrayAllocEmpty (sources->n); 174 188
Note:
See TracChangeset
for help on using the changeset viewer.
