MUX

From ICE Enterprises
Jump to navigation Jump to search

combines separate real and imaginary files into one complex file

<real>  Real input file name [DEF=""]
<imag>  Imaginary input file name (or constant, if /CONST asserted) [DEF=""]
<comp>  Complex output file name [DEF=""]

Combines separate <real> and <imag> files into a single complex format file with
name <comp>.

   o  The input files must be scalar and the output file is complex.  Output
      file name cannot be the same as input file.
   o  File type classes may be either 1000 or 2000, but cannot be mixed.
   o  Data representations can be Byte, Integer, Long, Float, or Double.
      Output data is the promoted to the highest-precision input data
      representation (e.g. if muxing Byte and Long, the output is Long).
   o  Warning messages will be issued if
        a) The input files have different delta values.
        b) The input files use different abscissa units.
   o  The MODE widget can be used to alter the mux streams at run-time:
	MODE = RI   Real|Imag
	MODE = RR   Real|Real
	MODE = II   Imag|Imag
	MODE = IR   Imag|Real
   o  If the /CONST switch is asserted, <imag> is considered to be a valid
      result, a number or a blank (zero).  This constant can be placed in the
      real output field using /MODE=IR.

Control Widgets:
  setMode - To change the mode real-time.

Switches:
  /CONST - If asserted, <imag> is picked as a numeric constant rather
	   than as a file name.
  /MODE= - Sets the initial state for the MODE widget
  /TL    -  To set the transfer length in elements [DEF=32768
             nxm.sys.lib.Primitive.java;

See Also: DEMUX