- Timestamp:
- Nov 28, 2013, 4:09:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/src/psphotExtendedSourceFits.c
r36315 r36318 120 120 } 121 121 122 float fitNsigmaConv = psMetadataLookupF32 (&status, recipe, "EXT_FIT_NSIGMA_CONV"); // number of sigma for the convolutio 123 if (!status || !isfinite(fitNsigmaConv) || fitNsigmaConv <= 0) { 124 fitNsigmaConv = 5.0; 125 } 126 122 127 bool chisqConvergence = psMetadataLookupBool (&status, recipe, "LMM_FIT_CHISQ_CONVERGENCE"); // Fit tolerance 123 128 if (!status) { … … 144 149 fitOptions->minTol = fitMinTol; 145 150 fitOptions->maxTol = fitMaxTol; 151 fitOptions->nsigma = fitNsigmaConv; 146 152 147 153 fitOptions->gainFactorMode = gainFactorMode; … … 656 662 if (source->modelEXT->isPCM) { 657 663 // fprintf (stderr, "subtract PCM extended source model for object %d @ %f, %f\n", source->id, source->moments->Mx, source->moments->My); 658 pmPCMCacheModel (source, maskVal, psfSize );664 pmPCMCacheModel (source, maskVal, psfSize, fitOptions->nsigma); 659 665 } else { 660 666 // fprintf (stderr, "subtract non-PCM extended source model for object %d @ %f, %f\n", source->id, source->moments->Mx, source->moments->My);
Note:
See TracChangeset
for help on using the changeset viewer.
