VectorPhaseMultiply

From diagham
Jump to navigation Jump to search

VectorPhaseMultiply multiplies a binary vector with a complex phase factor. The input vector can be real or complex while the output vector is always a complex vector. Typical usage is

$PATHTODIAGHAM/build/src/Programs/VectorPhaseMultiply -i input.vec -o output.vec -p 3.14

The phase is set through the -p option and should be expressed in radian or in unit of pi if the --pi-unit option is set.

VectorPhaseMultiply can be used to convert real vector into complex phase by setting the phase to zero (default value).