Home > matutils > interf > match_uvcut.m

match_uvcut

PURPOSE ^

function r=match_uvcut(p,uvcut)

SYNOPSIS ^

function r=match_uvcut(p,uvcut)

DESCRIPTION ^

 function r=match_uvcut(p,uvcut)

 searches to see if you've already calculated a map with uv range
 uvcut.  returns matching index for p.mos

 Michael Loh

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function r=match_uvcut(p,uvcut)
0002 
0003 % function r=match_uvcut(p,uvcut)
0004 %
0005 % searches to see if you've already calculated a map with uv range
0006 % uvcut.  returns matching index for p.mos
0007 %
0008 % Michael Loh
0009 
0010 r=[];
0011 for i=1:length(p.mos)
0012   if (all(p.mos{i}.uvcut==uvcut))
0013     r=i;
0014     break;
0015   end
0016 end

Generated on Sun 14-Jun-2015 17:12:45 by m2html © 2005