Difference between revisions of "Rotator"

From GNU Radio
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Block Docs]]
 
[[Category:Block Docs]]
 +
[[Category:Stub Docs]]
 
Makes a complex rotator block.  The phase increment (in radians) is how much phase will be added to the input every value.   
 
Makes a complex rotator block.  The phase increment (in radians) is how much phase will be added to the input every value.   
  
In the example below a constant source, set to 0.5, is fed into the rotator, thus producing a sine wave. The phase increment is set to 0.01 radians and the sample rate is 100kHz, so that equates to 1000 radians every second, or 1000/(2pi) = 159 cycles per secondThis corresponds to a period of about 6ms, as shown in the time sink.
+
As this is a basic template, it's also in the [[:Category:Stub_Docs|"Stub Docs category"]]. Please improve it.
 +
 
 +
== Parameters ==
 +
(''R''): <span class="plainlinks">[https://wiki.gnuradio.org/index.php/GNURadioCompanion#Variable_Controls ''Run-time adjustable'']</span>
 +
 
 +
; Param 1 (''R'')
 +
: Description of parameter, provide any tips or recommended valuesNote that the name of the parameter above should match the param's label that shows up in grc (e.g. Sample Rate).
 +
 
 +
; Param 2
 +
: blah blah blah
  
 
== Example Flowgraph ==
 
== Example Flowgraph ==
 +
 +
In the example below a constant source, set to 0.5, is fed into the rotator, thus producing a sine wave.  The phase increment is set to 0.01 radians and the sample rate is 100kHz, so that equates to 1000 radians every second, or 1000/(2pi) = 159 cycles per second.  This corresponds to a period of about 6ms, as shown in the time sink.
  
 
[[File:Rotator-ex.png|700px]]
 
[[File:Rotator-ex.png|700px]]
 +
 +
== Source Files ==
 +
 +
; C++ files
 +
: [https://github.com/gnuradio/gnuradio TODO]
 +
 +
; Header files
 +
: [https://github.com/gnuradio/gnuradio TODO]
 +
 +
; Public header files
 +
: [https://github.com/gnuradio/gnuradio TODO]
 +
 +
; Block definition
 +
: [https://github.com/gnuradio/gnuradio TODO]

Revision as of 10:29, 20 July 2019

Makes a complex rotator block. The phase increment (in radians) is how much phase will be added to the input every value.

As this is a basic template, it's also in the "Stub Docs category". Please improve it.

Parameters

(R): Run-time adjustable

Param 1 (R)
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).
Param 2
blah blah blah

Example Flowgraph

In the example below a constant source, set to 0.5, is fed into the rotator, thus producing a sine wave. The phase increment is set to 0.01 radians and the sample rate is 100kHz, so that equates to 1000 radians every second, or 1000/(2pi) = 159 cycles per second. This corresponds to a period of about 6ms, as shown in the time sink.

Rotator-ex.png

Source Files

C++ files
TODO
Header files
TODO
Public header files
TODO
Block definition
TODO