


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.
