Scilab Function
Last update : 18/8/2006

tilt - introduces tilt into the field distribution.

Calling Sequence

[field_out]=tilt(field_in,tx,ty)

Parameters

Description

filters the field through tilt filter. tx and ty must be passed to even if one of the two equals to zero

Examples

	f1=begin(0.04,1e-6);
	f2=rect_ap(f1,0.02);
	f3=tilt(f2,1e-4,-1e-4);
	f4=forvard(f3,8);
	f5=cros_out(f4,"out");

	temp = fscanfMat('out.txt');
	x=zeros(1,256);pha_x=zeros(1,256);
	x(:)=temp(:,1);pha_x(:)=temp(:,4);
	plot2d(x,pha_x);	
 

Author

Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)

See Also

lens ,   zernike ,