gnuradio.channels

Blocks for channel models and related functions.

gnuradio.channels.channel_model(double noise_voltage = 0.0, double frequency_offset = 0.0, double epsilon = 1.0, std::vector<(gr_complex, std::allocator<(gr_complex)>)> taps = std::vector< gr_complex >(1, 1), double noise_seed = 0) → sptr

channel simulator

This block implements a basic channel model simulator that can be used to help evaluate, design, and test various signals, waveforms, and algorithms. This model allows the user to set the voltage of an AWGN noise source, a (normalized) frequency offset, a sample timing offset, and a noise seed to randomize the AWGN noise source.

Multipath can be approximated in this model by using a FIR filter representation of a multipath delay profile..

Constructor Specific Documentation:

Build the channel simulator.

Parameters:
  • noise_voltage – The AWGN noise level as a voltage (to be calculated externally to meet, say, a desired SNR).
  • frequency_offset – The normalized frequency offset. 0 is no offset; 0.25 would be, for a digital modem, one quarter of the symbol rate.
  • epsilon – The sample timing offset to emulate the different rates between the sample clocks of the transmitter and receiver. 1.0 is no difference.
  • taps – Taps of a FIR filter to emulate a multipath delay profile.
  • noise_seed – A random number generator seed for the noise source.
channel_model_sptr.frequency_offset(self) → double
channel_model_sptr.noise_voltage(self) → double
channel_model_sptr.set_frequency_offset(self, double frequency_offset)
channel_model_sptr.set_noise_voltage(self, double noise_voltage)
channel_model_sptr.set_taps(self, std::vector<(gr_complex, std::allocator<(gr_complex)>)> taps)
channel_model_sptr.set_timing_offset(self, double epsilon)
channel_model_sptr.taps(self) → std::vector<(gr_complex,std::allocator<(gr_complex)>)>
channel_model_sptr.timing_offset(self) → double
gnuradio.channels.fading_model(unsigned int N, float fDTs = 0.01, bool LOS = True, float K = 4, int seed = 0) → sptr

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.

Constructor Specific Documentation:

Build the channel simulator.

Parameters:
  • 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
fading_model_sptr.K(self) → float
fading_model_sptr.active_thread_priority(self) → int
fading_model_sptr.fDTs(self) → float
fading_model_sptr.set_K(self, float K)
fading_model_sptr.set_fDTs(self, float fDTs)
fading_model_sptr.set_step(self, float step)
fading_model_sptr.set_thread_priority(self, int priority) → int
fading_model_sptr.step(self) → float
fading_model_sptr.thread_priority(self) → int

Previous topic

gnuradio.audio

Next topic

gnuradio.comedi

This Page