IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 15, 2008, 4:44:46 PM (18 years ago)
Author:
eugene
Message:

options to turn on and off all of the components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimAddNoise.c

    r17702 r17705  
    3232            // (generate a static array with the cumulative distribution, use the
    3333            // random number to select a bin from the histogram)
    34             signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * psRandomGaussian(rng);
     34            signal->data.F32[y][x] += sqrtf(variance->data.F32[y][x]) * ppSimRandomGaussianNorm(rng);
    3535            signal->data.F32[y][x] /= gain; // Converting to ADU
    3636        }
     
    4040    return true;
    4141}
     42
Note: See TracChangeset for help on using the changeset viewer.