Multipath Fading Sample¶
- class MultipathFadingSample(power_profile, delay_profile, los_angles, nlos_angles, los_phases, nlos_phases, los_gains, nlos_gains, los_doppler, nlos_doppler, spatial_response, gain, state)[source]¶
Bases:
ChannelSample
Immutable sample of a statistical multipath fading channel.
Generated by the
sample()
routine of aMultipathFadingRealization
.- Parameters:
transmitter_state (DeviceState) – State of the transmitting device at the time of sampling.
receiver_state (DeviceState) – State of the receiving device at the time of sampling.
carrier_frequency (float) – Carrier frequency of the channel in Hz.
bandwidth (float) – Bandwidth of the propagated signal in Hz.
path_realizations (Sequence[PathRealization]) – Realizations of the individual propagation paths.
spatial_response (numpy.ndarray) – Spatial response matrix of the channel realization considering alpha_device is the transmitter and beta_device is the receiver.
interpolation_mode (InterpolationMode, optional) – Interpolation behaviour of the channel realization’s delay components with respect to the proagated signal’s sampling rate.
- state(num_samples, max_num_taps, interpolation_mode=InterpolationMode.NEAREST)[source]¶
Generate the discrete channel state information from this channel realization.
Denoted by
\[\mathbf{H}^{(m, \tau)} \in \mathbb{C}^{N_{\mathrm{Rx}} \times N_{\mathrm{Tx}}}\]within the respective equations.
- Parameters:
num_samples (int) – Number of discrete time-domain samples of the chanel state information.
max_num_taps (int) – Maximum number of delay taps considered per discrete time-domain sample.
interpolation_mode (InterpolationMode, optional) – Interpolation behaviour of the channel realization’s delay components with respect to the proagated signal’s sampling rate. If not specified, an integer rounding to the nearest sampling instance will be assumed.
- Return type:
Returns: The channel state information representing this channel realization.
- property expected_energy_scale: float¶
Expected linear scaling of a propagated signal’s energy at each receiving antenna.
Required to compute the expected energy of a signal after propagation, and therfore signal-to-noise ratios (SNRs) and signal-to-interference-plus-noise ratios (SINRs).