#include <itpp/comm/channel.h>
Inheritance diagram for itpp::FIR_Fading_Generator:
Public Member Functions | |
FIR_Fading_Generator (const double norm_doppler=0.0, const DOPPLER_SPECTRUM spectrum=Jakes, const int filter_length=500) | |
void | set_filter_length (const int filter_length) |
Set FIR filter length. | |
int | get_filter_length () |
Get filter length. | |
virtual void | init () |
Initialize the generator (is not needed). | |
virtual void | generate (const int no_samples, cvec &output) |
Generate no_samples values from the fading process. | |
virtual void | generate (const int no_samples, const int upsampling_factor, cvec &output) |
is this really correct??? | |
void | set_norm_doppler (const double norm_doppler) |
Set normalized doppler rate. | |
void | set_doppler_spectrum (const DOPPLER_SPECTRUM spectrum) |
Set doppler spectrum. | |
void | set_LOS (const double relative_power, const double relative_doppler) |
Set LOS component. Used e.g. for Rice doppler spectrum. Rice factor and relative doppler (related to maximum doppler). | |
double | get_norm_doppler () |
Return normalized doppler rate. | |
DOPPLER_SPECTRUM | get_doppler_spectrum () |
Return doppler spectrum. | |
double | get_LOS_power () |
Get relative power of LOS component (Rice factor). | |
double | get_LOS_doppler () |
Get relative doppler (compared to maximum doppler) for the LOS component. | |
cvec | generate (const int no_samples) |
Generate no_samples values from the fading process. | |
cvec | generate (const int no_samples, const int upsampling_factor) |
Generate no_samples values from the fading process upsampled by upsampling_factor . | |
void | shift_time_offset (const int no_samples) |
Shift generator time offset by a number of samples. | |
Protected Member Functions | |
void | generate_zero_doppler (const int no_samples, cvec &output) |
void | generate_zero_doppler (const int no_samples, const int upsampling_factor, cvec &output) |
Protected Attributes | |
int | fir_length |
Generate no_samples values from the fading process. | |
int | upsample_rate |
MA_Filter< std::complex< double >, double, std::complex< double > > | fir_filter |
cvec | left_overs |
DOPPLER_SPECTRUM | dopp_spectrum |
double | n_dopp |
double | los_dopp |
double | los_power |
bool | init_flag |
double | time_offset |
Furthermore also the number length of the FIR filter is needed. The default value is 500. If the normalized doppler frequency is lower than 0.1 an equivalent process of higher normalized doppler is generated and linearly interpolated.
References:
[St"uber] Gordon L. St"uber, Principles of mobile communication, 2nd. ed., Kluwer, 2001.
[Rappaport] Theodore S. Rappaport, Wireless communications: principles and practise, Prentice Hall, 1996.
Definition at line 367 of file channel.h.
|
Set FIR filter length.
Definition at line 287 of file channel.cpp. |
|
Get filter length.
Definition at line 294 of file channel.cpp. |
|
Initialize the generator (is not needed).
Implements itpp::Fading_Generator. Definition at line 299 of file channel.cpp. |
|
Generate
Implements itpp::Fading_Generator. Definition at line 326 of file channel.cpp. |
|
is this really correct???
Implements itpp::Fading_Generator. Definition at line 354 of file channel.cpp. |
|
Set normalized doppler rate.
Definition at line 72 of file channel.cpp. References it_assert. |
|
Set doppler spectrum.
Definition at line 79 of file channel.cpp. |
|
Set LOS component. Used e.g. for Rice doppler spectrum. Rice factor and relative doppler (related to maximum doppler).
Definition at line 89 of file channel.cpp. |
|
Return normalized doppler rate.
|
|
Return doppler spectrum.
Definition at line 236 of file channel.h. References itpp::DOPPLER_SPECTRUM. |
|
Get relative power of LOS component (Rice factor).
|
|
Get relative doppler (compared to maximum doppler) for the LOS component.
|
|
Generate
Definition at line 99 of file channel.cpp. |
|
Generate
Definition at line 106 of file channel.cpp. |
|
Shift generator time offset by a number of samples.
Definition at line 113 of file channel.cpp. |
|
Generate
|
Generated on Fri Jan 11 08:51:42 2008 for IT++ by Doxygen 1.3.9.1