Scilab Function
Last update : 21/8/2006
dwf_fits - write the field (diffractive wavefront) to a FITS file.
Calling Sequence
-
[field_out]=dwf_fits(field_in,filename[,time])
Parameters
-
field_in
:input field. it must be diffractive wavefront.
-
filename
: the output file name (string).
-
time
:
the timestamp of the outfile name. default time = -1.
If the value of time is not positive,
then the timestamp of the outfile will not be included.
-
field_out
: the output field or diffractive wavefront.
Description
write diffractive wavefront data into FITS file.
Examples
dwf=begin(0.01,1e-6);
dwf=gauss(dwf,0.004);
dwf_fits(dwf,"dwf1");
dwf_fits(dwf,"dwf2",1);
dwf_fits(dwf,"dwf3",-1);
Author
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
See Also
file_ps
,
file_pgm
,
file_fits
,