Complex To IShort

From GNU Radio
Revision as of 04:22, 21 July 2019 by 777arc (talk | contribs)
Jump to: navigation, 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.


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

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI. Currently we have no standard method of uploading the actual flowgraph to the wiki or git repo, unfortunately. The plan is to have an example flowgraph showing how the block might be used, for every block, and the flowgraphs will live in the git repo.

Source Files

C++ fileshttps
Header files
Public header files
Block definition