Changeset 36240
- Timestamp:
- Oct 26, 2013, 2:56:36 PM (13 years ago)
- Location:
- branches/eam_branches/ipp-20130904/psModules/src/objects
- Files:
-
- 3 edited
-
pmPCM_MinimizeChisq.c (modified) (1 diff)
-
pmPCMdata.c (modified) (2 diffs)
-
pmPCMdata.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCM_MinimizeChisq.c
r36229 r36240 580 580 581 581 // XXXX note this point here::: 582 float yweight = 1.0 / source->variance->data.F32[i][j];582 float yweight = pcm->poissonErrors ? 1.0 / source->variance->data.F32[i][j] : 1.0; 583 583 float delta = ymodel - source->pixels->data.F32[i][j]; 584 584 -
branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCMdata.c
r36235 r36240 95 95 pcm->nDOF = 0; 96 96 97 pcm->poissonErrors = true; 98 97 99 // full convolution with the PSF is expensive. if we have to save time, we can do a 1D 98 100 // convolution with a Gaussian approximation to the kernel … … 365 367 pcm->modelConv = psMemIncrRefCounter(model); 366 368 pcm->constraint = constraint; 369 370 pcm->poissonErrors = fitOpions->poissonErrors; 367 371 368 372 pcm->nPix = nPix; -
branches/eam_branches/ipp-20130904/psModules/src/objects/pmPCMdata.h
r36229 r36240 35 35 int nPar; 36 36 int nDOF; 37 38 bool poissonErrors; 37 39 38 40 bool use1Dgauss;
Note:
See TracChangeset
for help on using the changeset viewer.
