


Convert RT optics to a custom optics structure data from one field height
optics = siConvertRTData(fName,fieldHeight)
The RT data are a good source of examples for single PSFs from real
lenses. This routine creates an optic structure used for shift-invariant
calculations but with an OTF/PSF drawn from one of the field heights in a
ray trace (Zemax) calculation.
The saved file can then be used for shift-invariant calculations with a
custom calculation.
Examples:
baseDir = [isetRootPath,'\ISET-Data\optics\'];
inName = fullfile(baseDir,'rtZemaxExample.mat');
siConvertRTdata;
fieldHeight = 0.5;
siConvertRTdata(inName,fieldHeight,fullfile(baseDir,'siZemaxExample05.mat'));
fieldHeight = 1.0;
siConvertRTdata(inName,fieldHeight,fullfile(baseDir,'siZemaxExample10.mat'));
Copyright ImagEval Consultants, LLC, 2005.