#include <noisegenerator.h>
Inheritance diagram for simthlib::BasebandAwgnGenerator< T >:
Public Member Functions | |
BasebandAwgnGenerator (int deviceID, simth::DeviceSystemIntf *system, const simth::PropertyList &pl=simth::PropertyList()) | |
~BasebandAwgnGenerator () | |
virtual void | process () |
virtual void | setSNR (double snr) |
virtual void | print (std::ostream &os) const |
Static Public Member Functions | |
static void | init (const std::string fileName, simth::Device **dev, simth::DeviceSystemIntf *sysPtr, int ID, const std::string ®ionQualifier="") |
|
|
|
|
|
Reimplemented from simthlib::NoiseGenerator. |
|
Reimplemented from simthlib::NoiseGenerator. |
|
Implements simth::Device. |
|
Sets the signal-to-noise ratio to the snr given in dB as argument. Hence, the linear signal-to-noise ratio is computed by 10^(snr/10). Since the noise power per quadrature component is assumed to be 0.5, the noise power is computed by snrLin*0.5 where snrLin is the linear signal-to-noise ratio. Implements simthlib::NoiseGenerator. |