Home > ISET > vcamera > optics > siOptics > siConvertRTdata.m

siConvertRTdata

PURPOSE ^

Convert RT optics to a custom optics structure data from one field height

SYNOPSIS ^

function [optics, inName, outName] = siConvertRTData(inName,fieldHeight,outName)

DESCRIPTION ^

 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.

CROSS-REFERENCE INFORMATION ^

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