Scilab Function
Last update : 21/8/2006

rectang - create a rectangular aperture object.

Calling Sequence

[aperture]=rectang(x_size, y_size)

Parameters

Description

create a rectangular aperture object. notice: it is't diffrent to rect_ap, because it does not include the process to filter the field.

Examples

	number=256;
	wavelength=1e-6;
	pixscl=0.1;sz=number*pixscl;
	dwf=begin(sz,wavelength);
	ap=rectang(sz/2,sz/2);
	dwf=aperture_transform(dwf,ap);
	dwf_fits(dwf,"rect_ap");
 

Author

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

See Also

rect_ap ,   rect_screen ,   circle ,   annul_ap ,   hex_ap ,   spid_annul_ap ,   til_hex_ap ,   aperture_transform ,   aperture ,