Magnitude and Phase To Complex: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
m (→‎Source Files: Updated source links)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
Two floats in (mag and phase), complex out.
Two floats in (mag and phase), complex out.


Line 7: Line 8:
== 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.
[[File:Magnitude and Phase To Complex.png]]
<p>This flowgraph can be downloaded from [[Media:Magnitude_phase_complex.grc]].</p>


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


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


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


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


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

Latest revision as of 12:27, 21 April 2025


Two floats in (mag and phase), complex out.

Parameters

Example Flowgraph

Magnitude and Phase To Complex.png

This flowgraph can be downloaded from Media:Magnitude_phase_complex.grc.

Source Files

C++ files
magphase_to_complex_impl.cc
Header files
magphase_to_complex_impl.h
Public header files
magphase_to_complex.h
Block definition
blocks_complex_to_magphase.block.yml