Complex To IShort

From GNU Radio
Jump to navigation Jump to search

Convert stream of complex to a stream of interleaved shorts. The output stream contains shorts with twice as many output items as input items. For every complex input item, we produce two output shorts that contain the real part and imaginary part converted to shorts.

Opposite of IShort To Complex


Vector Output
Instead of producing twice as many output items as input items, setting this to true will use vectors of length 2 as the output.

Example Flowgraph[edit]

Source Files[edit]

C++ files
Header files
Public header files
Block definition