Scilab Function
Last update : 30/8/2006
create_field - create a field or diffractive wavefront.
Calling Sequence
-
[field_out]=create_field(header,real,imaginary[,real_image])
Parameters
-
header
:the header of the field.
-
real
:the amplitude (or real) matrix of the field
-
imaginary
:the phase (or imaginary) matrix of the field.
-
real_image
:
a bool value. if ture, denotes the input data matrix are real and imaginary parts of the field,
else they are amplitude and phase. the defaults is fause (e.g. 0)
-
field_out
: the output field or diffractive wavefront.
Description
another method to create a field or diffractive wavefront besides
begin
.
Examples
f1=begin(0.01,1e-6);
f2=gauss(f1,0.004);
f3=forvard(f2,1);
[h,r,i]=field_contents(f3);
f=create_field(h,r,i,1);
field_plot(f);
Author
Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)
See Also
begin
,