Scilab Function
Last update : 22/8/2006

unfold_phase - unfolds the phase of a field (or difractive wavefront)

Calling Sequence

[pha_out]=unfold_phase(num,pha_in,koeff,rad[,type])

Parameters

Description

unfolds the phase by the function unf3 of LightPipes.

Examples

	f1=begin(0.01,1e-6,60);
	f2=lens(f1,5);
	pha=field_pha(f2);
	pha1=unfold_phase(60,pha,1,0.01);
	pha2=unfold_phase(60,pha,1,0.01,1);

	xbasc();drawlater();
	subplot(1,3,1);surf(pha);
	subplot(1,3,2);surf(pha1);
	subplot(1,3,3);surf(pha2);
	drawnow();
 

Author

Chen jingyuan,

See Also

field_pha ,   file_pha ,