Complex Conjugate: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[Category:Stub Docs]]
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.
Output is the complex conjugate of the input
 
As this is a basic template, it's also in the [[:Category:Stub_Docs|"Stub Docs category"]]. Please improve it.


== Parameters ==
== Parameters ==
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
None


; Param 1 (''R'')
== Example Flowgraph ==
: Description of parameter, provide any tips or recommended values.  Note that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
The following flowgraph shows the usage of the complex conjugate block.
 
; Param 2
: blah blah blah


== Example Flowgraph ==
[[File:Complex conjugate block dock fg.png|800px]]


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 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