Complex To Mag Phase: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Category:Block Docs Category:Stub Docs This is the template for the "Page-per-block Docs". This first section should describe what the block...") |
(add Example Flowgraph) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Block Docs]] | [[Category:Block Docs]] | ||
[ | Convert a stream of gr_complex to magnitude and phase (both floats). output[0] is the magnitude and output[1] is the phase (in radians). | ||
== Parameters == | == Parameters == | ||
None | |||
== Example Flowgraph == | |||
[[File:Type_conv_fg.png|798px]] | |||
<p>This flowgraph can be downloaded from [[Media:Type_conv.grc]].</p> | |||
== Source Files == | == Source Files == | ||
; C++ files | |||
; C++ | : [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/complex_to_magphase_impl.cc] | ||
: [https://github.com/gnuradio/gnuradio | |||
; Header files | ; Header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/complex_to_magphase_impl.h] | ||
; Public header files | ; Public header files | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/include/gnuradio/blocks/complex_to_magphase.h] | ||
; Block definition | ; Block definition | ||
: [https://github.com/gnuradio/gnuradio | : [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/grc/blocks_complex_to_magphase.block.yml] |
Latest revision as of 21:35, 10 April 2025
Convert a stream of gr_complex to magnitude and phase (both floats). output[0] is the magnitude and output[1] is the phase (in radians).
Parameters
None
Example Flowgraph
This flowgraph can be downloaded from Media:Type_conv.grc.
Source Files
- C++ files
- [1]
- Header files
- [2]
- Public header files
- [3]
- Block definition
- [4]