Scilab Function
Last update : 23/8/2006

sp_wave - construct spherical wave or field.

Calling Sequence

[dwf_out]=sp_wave(dwfh,emt)

Parameters

Description

construct spherical wave by the diffractive wavefront header and the spherical wave emitter.

Examples

	number=256;
	wavelength=1e-6;
	pixscl=0.1;

	dwfh=wavefront_header(wavelength,pixscl,number);
	dwfh=set_dwfh_timestamp(dwfh,0);

	emt=emitter(1,0,0,1e10);
	dwf=sp_wave(dwfh,emt);
	dwf_fits(dwf,"spw");
 

Author

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

See Also

begin ,   emitter ,   pl_wave ,   wavefront_header ,   start ,   emitter ,