GNU Radio 3.7.1 C++ API
|
fading simulator More...
#include <selective_fading_model.h>
Public Types | |
typedef boost::shared_ptr < selective_fading_model > | sptr |
Public Member Functions | |
virtual float | fDTs ()=0 |
virtual float | K ()=0 |
virtual float | step ()=0 |
virtual void | set_fDTs (float fDTs)=0 |
virtual void | set_K (float K)=0 |
virtual void | set_step (float step)=0 |
Static Public Member Functions | |
static sptr | make (unsigned int N, float fDTs, bool LOS, float K, int seed, std::vector< float > delays, std::vector< float > mags, int ntaps) |
Build the channel simulator. |
fading simulator
This block implements a basic fading model simulator that can be used to help evaluate, design, and test various signals, waveforms, and algorithms.
virtual float gr::channels::selective_fading_model::fDTs | ( | ) | [pure virtual] |
virtual float gr::channels::selective_fading_model::K | ( | ) | [pure virtual] |
static sptr gr::channels::selective_fading_model::make | ( | unsigned int | N, |
float | fDTs, | ||
bool | LOS, | ||
float | K, | ||
int | seed, | ||
std::vector< float > | delays, | ||
std::vector< float > | mags, | ||
int | ntaps | ||
) | [static] |
Build the channel simulator.
N | The number of sinusiods to use in simulating the channel; 8 is a good value |
fDTs | normalized maximum Doppler frequency, fD * Ts |
LOS | include Line-of-Site path? selects between Rayleigh (NLOS) and Rician (LOS) models |
K | Rician factor (ratio of the specular power to the scattered power) |
seed | a random number to seed the noise generators |
delays | A vector of values the specify the time delay of each impulse |
mags | A vector of values that specifies the magnitude of each impulse |
ntaps | The number of filter taps. |
virtual void gr::channels::selective_fading_model::set_fDTs | ( | float | fDTs | ) | [pure virtual] |
virtual void gr::channels::selective_fading_model::set_K | ( | float | K | ) | [pure virtual] |
virtual void gr::channels::selective_fading_model::set_step | ( | float | step | ) | [pure virtual] |
virtual float gr::channels::selective_fading_model::step | ( | ) | [pure virtual] |