Scilab Function
Last update : 20/8/2006
field_int - get the intensity of the field
Calling Sequence
-
[intensity]=field_int(field_in[,amp])
Parameters
-
field_in
:input field. it must be diffractive wavefront.
-
amp
:
boolean value to identify whether to get the amplitude instead of intensity matrix.
the default is 0,i.e, get the intensity matrix.
-
intensity
: the output intensity matrix
Description
get the intensity of the field. note the output is 2D matrix.
Examples
F1=begin(0.01,1e-6);
F2=gauss(F1,0.004);
F3=forvard(F2,1);
in=field_int(F3);
surf(in);
Author
Chen jingyuan,
See Also
file_int
,
field_pha
,
field_contents
,