IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23465


Ignore:
Timestamp:
Mar 20, 2009, 5:57:46 PM (17 years ago)
Author:
eugene
Message:

add ability to generate "bad cte" regions (just a smoothed area)

Location:
trunk/ppSim/src
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/Makefile.am

    r23229 r23465  
    4545        ppSimRandomGaussian.c     \
    4646        ppSimBadPixels.c          \
     47        ppSimBadCTE.c             \
    4748        ppSimVersion.c
    4849
  • trunk/ppSim/src/ppSim.h

    r23139 r23465  
    135135
    136136
     137// add a bad CTE region
     138bool ppSimBadCTE(psImage *image,        // Signal image, modified and returned
     139                 const pmConfig *config // configuration
     140  );
     141
    137142/// Add bad pixels to an image
    138143bool ppSimBadPixels(pmReadout *readout, ///< Readout for which to generate bad pixels
  • trunk/ppSim/src/ppSimLoop.c

    r23259 r23465  
    154154            done:
    155155                if (!ppSimAddNoise(readout->image, readout->variance, cell, config, rng)) ESCAPE (PS_ERR_UNKNOWN, "problem adding noise");
     156
     157                if (!ppSimBadCTE(readout->image, config)) ESCAPE (PS_ERR_UNKNOWN, "problem inducing bad cte");
     158
    156159                if (!ppSimSaturate(readout, config)) ESCAPE (PS_ERR_UNKNOWN, "problem setting saturation levels");
    157160
Note: See TracChangeset for help on using the changeset viewer.