Changeset 34085 for trunk/psModules/src/objects/pmPSFtryMakePSF.c
- Timestamp:
- Jun 26, 2012, 11:31:38 AM (14 years ago)
- Location:
- trunk/psModules
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/objects/pmPSFtryMakePSF.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules
- Property svn:mergeinfo changed
/branches/eam_branches/ipp-20120601/psModules (added) merged: 34002,34044,34049,34051-34053,34073,34076,34078
- Property svn:mergeinfo changed
-
trunk/psModules/src/objects/pmPSFtryMakePSF.c
r30044 r34085 231 231 // XXX we are using the same stats structure on each pass: do we need to re-init it? 232 232 // XXX we hardwire this to SAMPLE stats above (psphotChoosePSF.c), hardwire here instead? 233 psStatsOptions meanOption = psStatsMeanOption(psf->psfTrendStats->options); 234 psStatsOptions stdevOption = psStatsStdevOption(psf->psfTrendStats->options); 235 233 236 234 pmTrend2D *trend = NULL; 237 float mean, stdev;238 235 239 236 // XXX we are using the same stats structure on each pass: do we need to re-init it? … … 249 246 return true; 250 247 } 248 249 # if (PS_TRACE_ON) 250 float mean, stdev; 251 psStatsOptions meanOption = psStatsMeanOption(psf->psfTrendStats->options); 252 psStatsOptions stdevOption = psStatsStdevOption(psf->psfTrendStats->options); 251 253 mean = psStatsGetValue (trend->stats, meanOption); 252 254 stdev = psStatsGetValue (trend->stats, stdevOption); 253 255 psTrace ("psModules.objects", 4, "clipped E0 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e0->n); 256 # endif 257 254 258 if (psf->psfTrendMode == PM_TREND_MAP) psImageMapCleanup (trend->map); 255 259 pmSourceVisualPSFModelResid (trend, x, y, e0, srcMask); … … 264 268 return true; 265 269 } 270 # if (PS_TRACE_ON) 266 271 mean = psStatsGetValue (trend->stats, meanOption); 267 272 stdev = psStatsGetValue (trend->stats, stdevOption); 268 273 psTrace ("psModules.objects", 4, "clipped E1 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e1->n); 274 # endif 269 275 if (psf->psfTrendMode == PM_TREND_MAP) psImageMapCleanup (trend->map); 270 276 pmSourceVisualPSFModelResid (trend, x, y, e1, srcMask); … … 279 285 return true; 280 286 } 287 # if (PS_TRACE_ON) 281 288 mean = psStatsGetValue (trend->stats, meanOption); 282 289 stdev = psStatsGetValue (trend->stats, stdevOption); 283 290 psTrace ("psModules.objects", 4, "clipped E2 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e2->n); 291 # endif 284 292 if (psf->psfTrendMode == PM_TREND_MAP) psImageMapCleanup (trend->map); 285 293 pmSourceVisualPSFModelResid (trend, x, y, e2, srcMask);
Note:
See TracChangeset
for help on using the changeset viewer.
