Home > ISET > vcamera > sensor > sensorWBCompute.m

sensorWBCompute

PURPOSE ^

Compute sensor response one waveband at a time (to reduce memory usage)

SYNOPSIS ^

function sensor = sensorWBCompute(sensor,workDir,displayFlag)

DESCRIPTION ^

 Compute sensor response one waveband at a time (to reduce memory usage)

   sensor = sensorWBCompute(sensor,workDir,displayFlag)

 This routine loops through the oiXXX.mat files in the workDir directory
 to calculate the sensor responses. The calculation converts OI data to
 volts, one waveband at a time, and the voltages are added together.  The
 results are returned in sensor.

 The routine creates a version of sensor that is noise free and calculates
 the voltages for the first N-1 wavebands.  Then it calculates the last
 wavelength with the noise parameters of the original.  In this way, the
 routine only adds the sensor noise once.  The photon noise is added
 across the wavebands.

 The analog to digital conversion is performed at the last stage, after
 the (continuous) voltage level has been accumulated.

 See s_wavebandCompute for an example of how this routine is used.

 See also:  sceneWBCreate

 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