Scilab Function
Last update : 22/8/2006

atm_mod_layers_fits - write all refractive layers of an refractive atmospheric model into FITS files.

Calling Sequence

[layers_out]=atm_mod_layers_fits(layers_in, filename)

Parameters

Description

write all refractive layers of an refractive atmospheric model into FITS files. this funtion will write out n FITS file named filename_0.fits ....filename_n-1.fits, where n equate to the number of input refractive layers.

Examples

	ap=circle(2);
	emt=emitter(0,0,0,-1);
	wvl=1e-6;pixscale=0.01;
	ram=tmt_srd_v13_cn2_mod();
	dwfh=get_atm_mod_dwfh(ram,wvl,pixscale,emt,ap,0,1);
	subm=lane_subm(3);hwm=hardy_wind(10);
	layers=get_atm_mod_layers(ram,subm,1,dwfh,pixscale,hwm,0.1,0,0);
	atm_mod_layers_fits(layers,"layer");
 

Author

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

See Also

ell_cer_pac_mod ,   ell_mau_kea_mod ,   pal_dimm_mass_mod ,   huf_val_mod ,   slcsat_day_mod ,   slcsat_night_mod ,   tmt_srd_v13_cn2_mod ,   gemini_glao_study_mod ,   ref_atm_model ,   get_atm_mod_dwfh ,   get_atm_mod_layers ,   atm_mod_lay_number ,   atm_mod_lay_heights ,   atm_mod_lays_transform ,   atmosphere ,