Changeset 17705 for branches/eam_branch_20080511/ppSim/src/ppSimAddNoise.c
- Timestamp:
- May 15, 2008, 4:44:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20080511/ppSim/src/ppSimAddNoise.c
r17702 r17705 32 32 // (generate a static array with the cumulative distribution, use the 33 33 // random number to select a bin from the histogram) 34 signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * p sRandomGaussian(rng);34 signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * ppSimRandomGaussianNorm(rng); 35 35 signal->data.F32[y][x] /= gain; // Converting to ADU 36 36 } … … 40 40 return true; 41 41 } 42
Note:
See TracChangeset
for help on using the changeset viewer.
