Complex Conjugate: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Output is the complex conjugate of the input
This block converts the input into its [https://en.wikipedia.org/wiki/Complex_conjugate complex conjugate]. This means that the imaginary part of each complex input value gets its sign inverted in the output i.e. if the input value is a + bi, the output value will be a + (-b)i.


== Parameters ==
== Parameters ==
Line 6: Line 6:


== Example Flowgraph ==
== Example Flowgraph ==
The following flowgraph shows the usage of the complex conjugate block.


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.
[[File:Complex conjugate block dock fg.png|800px]]
 
[[File:Complex conj block doc plot.png|600px]]


== Source Files ==
== Source Files ==


; C++ files
; C++ files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/conjugate_cc_impl.cc conjugate_cc_impl.cc]


; Header files
; Header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/lib/conjugate_cc_impl.h conjugate_cc_impl.h]


; Public header files
; Public header files
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/include/gnuradio/blocks/conjugate_cc.h conjugate_cc.h]


; Block definition
; Block definition
: [https://github.com/gnuradio/gnuradio TODO]
: [https://github.com/gnuradio/gnuradio/blob/main/gr-blocks/grc/blocks_conjugate_cc.block.yml blocks_conjugate_cc.block.yml]

Latest revision as of 09:59, 25 August 2022

This block converts the input into its complex conjugate. This means that the imaginary part of each complex input value gets its sign inverted in the output i.e. if the input value is a + bi, the output value will be a + (-b)i.

Parameters

None

Example Flowgraph

The following flowgraph shows the usage of the complex conjugate block.

Complex conjugate block dock fg.png

Complex conj block doc plot.png

Source Files

C++ files
conjugate_cc_impl.cc
Header files
conjugate_cc_impl.h
Public header files
conjugate_cc.h
Block definition
blocks_conjugate_cc.block.yml