IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 8, 2008, 4:03:31 PM (18 years ago)
Author:
eugene
Message:

update from changes on eam_branch_20080511 : adding photometry of fake sources, force photometry; major cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimAddNoise.c

    r14657 r18011  
    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        }
Note: See TracChangeset for help on using the changeset viewer.