Home > ISET > vcamera > sensor > pixel > pixelSNR.m

pixelSNR

PURPOSE ^

Compute pixel SNR as a function of pixel voltage

SYNOPSIS ^

function [SNR, volts, SNRshot, SNRread] = pixelSNR(ISA,volts)

DESCRIPTION ^

Compute pixel SNR as a function of pixel voltage

   [SNR, volts, SNRshot, SNRread] = pixelSNR(ISA,volts)

 The pixel SNR depends on the signal level (in volts) or these can be
 stimulus referred to lux-sec (see pixelSNRluxsec).

 The formula for pixel signal-to-noise ratio is

      SNR = 10 * log10(signalPower./noisePower);
 
 where
  
  signalPower:   the square of the number of electrons (volts/convGain).^2; 

  noisePower:    the sum of the read noise variance and shot noise
  variance (readSD.^2 + shotSD.^2), both in electrons.  

 If no voltage levels are passed in, we choose volts to be logarithmically spaced
 across the pixel voltage range.

 The limitations imposed by the different noise types (shot noise and read
 noise) can be returned, as well.

 See also:  pixelSNRluxsec, sensorSNR

 Examples:
   [SNR, volts] = pixelSNR(ISA); semilogx(volts,SNR);
   [SNR, volts, SNRshot, SNRread] = pixelSNR(ISA);
   figure; semilogx(volts,SNRshot,'g--',volts,SNRread,'r-',volts,SNR,'k-');
   legend('Shot noise SNR','Read noise SNR','Total SNR');
   grid on

 Note:  (1) The argument to this routine is a sensor array with an attached pixel.
 Note:  (2) If the user sets the read SD to 0, we treat the readSNR as infinite.

 Copyright ImagEval Consultants, LLC, 2005

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Sun 14-Jan-2007 10:24:23 by m2html © 2003