Home > ISET > utility > ieFieldHeight2Index.m

ieFieldHeight2Index

PURPOSE ^

Find the field height index closest to a specific height value

SYNOPSIS ^

function [idx1,idx2] = ieFieldHeight2Index(fieldHeightList,height)

DESCRIPTION ^

 Find the field height index closest to a specific height value

    [idx1,idx2]  = ieFieldHeight2Index(fieldHeightList,height)
   
   You can also request a pair of indices that bound the value.  In that
   case, idx1 < idx2 and 

     fieldHeightList(idx1) <= height <= fieldHeightList(idx2)

 Example
   fieldHeightList = opticsGet(optics,'rtPSFfieldHeight');
   fhIdx = ieFieldHeight2Index(fieldHeightList,1.05)
   [idx1,idx2]  = ieFieldHeight2Index(fieldHeightList,0.9)

 Copyright ImagEval Consultants, LLC, 2003.

CROSS-REFERENCE INFORMATION ^

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