Scilab Function
Last update : 25/8/2006

set_dwf_direction - reset the propagating direction of a wavefront

Calling Sequence

[dwf_out]=set_dwf_direction(dwf_in,tv)

Parameters

Description

reset the propagating direction of a wavefront

Examples

	number=128;wavelength=1e-6;pixscl=0.1;
	dwfh=wavefront_header(wavelength,pixscl,number);
	dwfh=set_dwfh_timestamp(dwfh,0);
	
	emt=emitter(0,0,0,1);
	dwf=pl_wave(dwfh,emt);
	field_plot(dwf);
	
	tv=three_vector(0,2,3);
	dwf=set_dwf_direction(dwf,tv);
	field_plot(dwf);
 

Author

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

See Also

begin ,   pl_wave ,   sp_wave ,   dwf_clip_array ,   set_dwf_frame ,   set_dwf_timestamp ,