Scilab Function
Last update : 1/9/2006

ref_atm_lay - construct a refractive atmosphere layer.

Calling Sequence

[ref_lay]=ref_atm_lay(pixscale[,x_axes[,seed[,y_axes[,ps[,subm]]]])

Parameters

Description

construct a refractive atmosphere layer.

Examples

	pl=power_law(0.1,1e-6);
	vkpl=von_karman_power(0.1,1e-6,1);

	in=null_inner();
	ein=exponent_inner(0.001);

	ps1=power_spectrum(pl,in);
	ps2=power_spectrum(vkpl,ein);

	subm=null_subm();
	lsubm=lane_subm(3);

	lay=ref_atm_lay(1);
	N=256;a=lay_pixarr(lay);z=pixarr_data(a);
	grayplot(1:N,1:N,z,strf="030",rect=[1,1,N,N]);
	ref_atm_lay_fits(lay,"lay");
	
	lay0=ref_atm_lay(1,300);
	ref_atm_lay_fits(lay0,"lay0");
	
	lay1=ref_atm_lay(1,200,1);
	ref_atm_lay_fits(lay1,"lay1");

	lay2=ref_atm_lay(1,200,1,300);
	ref_atm_lay_fits(lay2,"lay2");

	lay3=ref_atm_lay(1,200,1,300,ps1);
	ref_atm_lay_fits(lay3,"lay3");

	lay4=ref_atm_lay(1,300,1,300,ps2,lsubm);
	ref_atm_lay_fits(lay4,"lay4");
 

Author

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

See Also

power_spectrum ,   power_law ,   von_karman_power ,   greenwood_power ,   null_inner ,   exponent_inner ,   frehlich_inner ,   null_subm ,   quad_pix_subm ,   lane_subm ,   johansson_gavel_subm ,   general_subm ,   set_lay_frame ,   set_lay_wind ,   lay_pixarr ,   ref_atm_lay_fits ,   ref_atm_lay_transform ,