Difference between revisions of "Complex To IShort"

From GNU Radio
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Block Docs]]
 
[[Category:Block Docs]]
 
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.
 
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]]
  
 
== Parameters ==
 
== Parameters ==
Line 7: Line 9:
  
 
== Example Flowgraph ==
 
== 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 ==
 
== Source Files ==
 
; C++ fileshttps://wiki.gnuradio.org/index.php/SISO
 
 
: [https://github.com/gnuradio/gnuradio TODO]
 
 
; Header files
 
: [https://github.com/gnuradio/gnuradio TODO]
 
 
; Public header files
 
: [https://github.com/gnuradio/gnuradio TODO]
 
 
; Block definition
 
: [https://github.com/gnuradio/gnuradio TODO]
 

Latest revision as of 04:41, 21 July 2019

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

Parameters[edit]

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]