Abs: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Block Docs]]
[[Category:Block Docs]]
[[File:abs-block.png|50px]]
Takes absolute value of data stream (i.e. strips sign).  Only supports float, int, and short (not complex).
Takes absolute value of data stream (i.e. strips sign).  Only supports float, int, and short (not complex).
== Parameters ==
None
== Example Flowgraph ==
Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI
[[File:abs-ex2.png|500px]]
[[File:abs-ex.png|500px]]
== Source Files ==
; C++ files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/abs_blk_impl.cc]
; Header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/lib/abs_blk_impl.h]
; Public header files
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/include/gnuradio/blocks/abs_blk.h]
; Block definition
: [https://github.com/gnuradio/gnuradio/blob/master/gr-blocks/grc/blocks_abs_xx.block.yml GRC yaml]

Revision as of 15:51, 15 July 2019

Abs-block.png Takes absolute value of data stream (i.e. strips sign). Only supports float, int, and short (not complex).

Parameters

None

Example Flowgraph

Insert description of flowgraph here, then show a screenshot of the flowgraph and the output if there is an interesting GUI

Abs-ex2.png

Abs-ex.png

Source Files

C++ files
[1]
Header files
[2]
Public header files
[3]
Block definition
GRC yaml