#include <VrAWGN.h>
Inheritance diagram for VrAWGN< iType >:

Public Member Functions | |
| virtual const char * | name () |
| default name for a module (override with actual name) | |
| virtual int | work (VrSampleRange output, void *o[], VrSampleRange inputs[], void *i[]) |
| Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#]. | |
| VrAWGN (float snr=72, float ma=1024) | |
| void | setSNR (float arg_snr) |
Protected Member Functions | |
| float | ran1 () |
| float | gasdev () |
Protected Attributes | |
| float | maxAmp |
| float | psnr |
| float | sigma |
| long | seed |
| int | iset |
| float | gset |
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
default name for a module (override with actual name)
Reimplemented from VrSigProc.
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||||||||||
|
Generate up to output.size output points at o[output#][sample#] using data at the inputptrs[input#][sample#]. Pointers start at corresponding VrSampleIndex in the range params. output.size is a multiple of outputSize. Returns the number of outputs (<= output.size) that it was able to compute with the given input ranges. If this value is < output.size, forecast() will need to be called again. Implements VrSigProc.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.8