IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 9, 2015, 3:42:26 PM (11 years ago)
Author:
eugene
Message:

move multple copies of gaussian deviates to libohana

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/fakeastro/src/make_fakestars.c

    r37807 r39242  
    4848      int inPatch = FALSE;
    4949      while (!inPatch) {
    50         z = rnd_gauss (0.0, FAKEASTRO_ZGAL);
     50        z = gaussdev_rnd (0.0, FAKEASTRO_ZGAL);
    5151        r = sqrt(drand48()) * FAKEASTRO_RGAL;
    5252        Lrad = drand48() * 2 * M_PI;
     
    9898    double Mr;
    9999    if (bigPeak) {
    100       Mr = rnd_gauss (11.25, 1.0);
     100      Mr = gaussdev_rnd (11.25, 1.0);
    101101    } else {
    102       Mr = rnd_gauss (10.00, 2.5);
     102      Mr = gaussdev_rnd (10.00, 2.5);
    103103    }
    104104   
Note: See TracChangeset for help on using the changeset viewer.