ZBFMULT

Multiplies the complex amplitude data in a ZBF file by a complex factor.

Syntax

ZBFMULT filename, Ax, Bx, Ay, By

Discussion

This keyword requires the name of the ZBF file to modify, and factors by which to multiply the real and imaginary components of the complex electric field for each point in the ZBF. The factors are applied to the x- and y-components of the electric field as follows, respectively, where Ex0 and Ey0 represent the original values in the ZBF.

Ex = Ex0(Ax + Bx*i)

Ey = Ey0(Ay + By*i)

The resulting data is written back to the same ZBF file name.

See Purpose for comments that apply to all ZBF related keywords.

Note: This command only supports *.ZBF file format. It does not support *.ZBF2 file format.

Example

ZBFMULT "some beam file name.ZBF", 0.0, 1.0, 0.0, -1.0