IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30642


Ignore:
Timestamp:
Feb 15, 2011, 4:08:22 PM (15 years ago)
Author:
eugene
Message:

plug leak and add verbosity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20101215/ppImage/src/ppImageAddNoise.c

    r30641 r30642  
    7777  double add_sigma = sqrt((MSKY_MN/GAIN)*(rho - 1.0) + PS_SQR(RDNOISE)*(rho2 - 1.0));
    7878
     79  fprintf (stderr, "mean sky: %f, scaling by %f, adding %f before re-scaling\n", MSKY_MN, rho, add_sigma);
     80
    7981  for (int iy = 0; iy < image->numRows; iy++){
    8082    for (int ix = 0; ix < image->numCols; ix++){
     
    9193  ppImageRandomGaussianFree();
    9294  psFree(rng);
     95  psFree(stats);
    9396 
    9497  return true;
Note: See TracChangeset for help on using the changeset viewer.