Fast Noise Source: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
No edit summary
No edit summary
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Block Docs]]
Similar to the [[Noise Source]] block, except it uses less CPU by pre-generating a pool of random variates taken from the specified distribution.  At runtime, samples are then uniform randomly chosen from this pool which is a very fast operation.
Similar to the [[Noise Source]] block, except it uses less CPU by pre-generating a pool of random variates taken from the specified distribution.  At runtime, samples are then uniform randomly chosen from this pool which is a very fast operation.


Supports output of type complex, float, int, short
Supports output of type complex, float, int, short


Args:
== Parameters ==
* Noise Type - the random distribution to use, only Gaussian and Uniform are supported
 
* Amplitude - the standard deviation of a 1-d noise process. If this is the complex source, this parameter is split among the real and imaginary parts
; Noise Type
* Seed - seed for random generators. Note that for uniform and Gaussian distributions, this should be a negative number.
: The random distribution to use, only Gaussian and Uniform are supported
* Variate Pool Size - Number of samples to pre-generate
 
; Amplitude
: The standard deviation of a 1-d noise process. If this is the complex source, this parameter is split among the real and imaginary parts
 
; Seed
: Seed for random generators. Note that for uniform and Gaussian distributions, this should be a negative number.
 
; Variate Pool Size
: Number of samples to pre-generate
 
 
== 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.
 
== 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 13:54, 20 July 2019

Similar to the Noise Source block, except it uses less CPU by pre-generating a pool of random variates taken from the specified distribution. At runtime, samples are then uniform randomly chosen from this pool which is a very fast operation.

Supports output of type complex, float, int, short

Parameters

Noise Type
The random distribution to use, only Gaussian and Uniform are supported
Amplitude
The standard deviation of a 1-d noise process. If this is the complex source, this parameter is split among the real and imaginary parts
Seed
Seed for random generators. Note that for uniform and Gaussian distributions, this should be a negative number.
Variate Pool Size
Number of samples to pre-generate


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.

Source Files

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