Quadriga Channel Realization#
- class QuadrigaChannelRealization(alpha_device, beta_device, gain, path_gains, path_delays, interpolation_mode=InterpolationMode.NEAREST)[source]#
Bases:
ChannelRealization
Realization of a Quadriga channel.
Generated by the
realize
method ofQuadrigaChannel
.- Parameters:
alpha_device (Device) – First device linked by the realized channel.
beta_device (Device) – Second device linked by the realized channel.
gain (float) – Channel gain.
path_gains (np.ndarray) – Path gains.
path_delays (np.ndarray) – Path delays.
interpolation_mode (InterpolationMode, optional) – Interpolation mode. Defaults to InterpolationMode.NEAREST.
- classmethod From_HDF(group, alpha_device, beta_device)[source]#
De-Serialized the object state from HDF5.
Recalls the object’s state from a HDF5 group.
- Parameters:
group (h5py.Group) – The HDF5 group from which the object state is recalled.
alpha_device (Device) – First device linked by the
Channel
instance that generated this realization.beta_device (Device) – Second device linked by the
Channel
instance that generated this realization.
- Return type:
Returns: The object initialized from the HDF5 group state.
- state(transmitter, receiver, delay, sampling_rate, num_samples, max_num_taps)[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:
transmitter (Device) – Device transmitting the signal for which the channel state information is generated.
receiver (Device) – Device receiving the signal for which the channel state information is generated.
delay (float) – Delay in seconds at which the state information should be generated.
sampling_rate (float) – Sampling rate of the state information’s discrete samples in \(\mathrm{Hz}\).
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.
- Return type:
Returns: The channel state information representing this channel realization.
- to_HDF(group)[source]#
Serialize the object state to HDF5.
Dumps the object’s state and additional information to a HDF5 group.
- Parameters:
group (h5py.Group) – The HDF5 group to which the object is serialized.
- Return type: