itpp::Static_Fading_Generator Class Reference
[Channel Modeling]

Static fading generator class. More...

#include <channel.h>

List of all members.

Public Member Functions

 Static_Fading_Generator ()
 Default constructor.
virtual ~Static_Fading_Generator ()
 Destructor.
virtual void init ()
 Initialize the generator.
virtual void generate (int no_samples, cvec &output)
 Generate no_samples values from the fading process.
void set_LOS_power (double relative_power)
 Set relative LOS power.
virtual void set_LOS_doppler (double relative_doppler)
 Set relative Doppler of the LOS component (for correlated fading generators).
virtual void set_time_offset (int offset)
 Set time offset in samples (for correlated fading generators).
virtual void set_filter_length (int filter_length)
 Set FIR filter length (for FIR fading generator).
virtual void set_norm_doppler (double norm_doppler)
 Set normalized Doppler (for correlated fading generators).
virtual void set_doppler_spectrum (DOPPLER_SPECTRUM spectrum)
 Set Doppler spectrum (for Rice fading generator).
virtual void set_no_frequencies (int no_freq)
 Set number of sine frequencies (for Rice fading generator).
virtual void set_rice_method (RICE_METHOD method)
 Set calculation method of Doppler frequencies and amplitudes (for Rice fading generator).
double get_LOS_power () const
 Get relative power of LOS component (Rice factor).
virtual double get_LOS_doppler () const
 Get relative Doppler of the LOS component (for correlated fading generators).
virtual double get_time_offset () const
 Get time offset in samples (for correlated fading generators).
virtual int get_filter_length () const
 Set FIR filter length (for FIR fading generator).
virtual double get_norm_doppler () const
 Return normalized Doppler (for correlated fading generators).
virtual DOPPLER_SPECTRUM get_doppler_spectrum () const
 Return Doppler spectrum (for Rice fading generator).
virtual int get_no_frequencies () const
 Get number of sine frequencies (for Rice fading generator).
virtual RICE_METHOD get_rice_method () const
 Get calculation method of Doppler frequencies and amplitudes (for Rice fading generator).
virtual void shift_time_offset (int no_samples)
 Shift generator time offset by a number of samples (for correlated fading generators).
cvec generate (int no_samples)
 Generate no_samples values from the fading process.

Protected Attributes

std::complex< double > static_sample
 Static Rayleigh distributed sample.
bool init_flag
 signals if generator is initialized or not
double los_power
 Relative power of LOS component compared to diffuse component (K factor).
double los_diffuse
 Diffuse component: sqrt(1 / (1 + los_power)).
double los_direct
 Direct component: sqrt(los_power / (1 + los_power)).


Detailed Description

Static fading generator class.

Author:
Adam Piatyszek
This class implements the static fading generator, which can be used on each tap of the TDL channel model. This generator produces a set of identical (static) Rayleigh or Rice distributed channel coefficients.
The documentation for this class was generated from the following files:

Generated on Tue Jun 2 10:02:19 2009 for mixpp by  doxygen 1.5.8