#include <itpp/comm/channel.h>
Inheritance diagram for itpp::Fading_Generator:
Public Member Functions | |
Fading_Generator (const double norm_doppler=0.0, const DOPPLER_SPECTRUM spectrum=Jakes) | |
virtual | ~Fading_Generator () |
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. | |
virtual void | init ()=0 |
Initialize the generator (has to be done before calling generate()). | |
virtual void | generate (const int no_samples, cvec &output)=0 |
Generate no_samples values from the fading process. | |
cvec | generate (const int no_samples) |
Generate no_samples values from the fading process. | |
virtual void | generate (const int no_samples, const int upsampling_factor, cvec &output)=0 |
Generate no_samples values from the fading process upsampled by upsampling_factor . | |
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 | |
DOPPLER_SPECTRUM | dopp_spectrum |
double | n_dopp |
double | los_dopp |
double | los_power |
bool | init_flag |
double | time_offset |
Two types of genators exist in the litterature: the filter method and the Rice method. The filter method filter a complex Gaussian process to achieve a given doppler spectrum while the Rice method approximate the process as a sum of sinusoids.
References:
[P"atzold] Matthias P"atzold, Mobile fading channels, Wiley, 2002.
Definition at line 221 of file channel.h.
|
Set normalized doppler rate.
Definition at line 72 of file channel.cpp. References init_flag, it_assert, and n_dopp. Referenced by Fading_Generator(). |
|
Set doppler spectrum.
Definition at line 79 of file channel.cpp. References dopp_spectrum, init_flag, los_dopp, and los_power. Referenced by Fading_Generator(). |
|
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. References dopp_spectrum, init_flag, it_assert, los_dopp, and los_power. |
|
Return normalized doppler rate.
Definition at line 234 of file channel.h. References n_dopp. |
|
Return doppler spectrum.
Definition at line 236 of file channel.h. References dopp_spectrum. |
|
Get relative power of LOS component (Rice factor).
Definition at line 238 of file channel.h. References los_power. |
|
Get relative doppler (compared to maximum doppler) for the LOS component.
Definition at line 240 of file channel.h. References los_dopp. |
|
Initialize the generator (has to be done before calling generate()).
Implemented in itpp::Rice_Fading_Generator, itpp::FIR_Fading_Generator, and itpp::IFFT_Fading_Generator. |
|
Generate
Implemented in itpp::Rice_Fading_Generator, itpp::FIR_Fading_Generator, and itpp::IFFT_Fading_Generator. Referenced by generate(). |
|
Generate
Definition at line 99 of file channel.cpp. References generate(). |
|
Generate
Implemented in itpp::Rice_Fading_Generator, itpp::FIR_Fading_Generator, and itpp::IFFT_Fading_Generator. |
|
Generate
Definition at line 106 of file channel.cpp. References generate(). |
|
Shift generator time offset by a number of samples.
Definition at line 113 of file channel.cpp. References time_offset. |
Generated on Thu Apr 19 14:20:02 2007 for IT++ by Doxygen 1.4.6