Channel Realization

Inheritance diagram of hermespy.channel.channel.ChannelRealization
class ChannelRealization(sample_hooks=None, gain=1.0)[source]

Bases: ABC, Generic[CST]

Realization of a wireless channel channel model.

Channel realizations represent a realization of all random processes of a wireless channel model. They are generated by the realize() method of Channel instances.

Parameters:
  • sample_hooks (Set[ChannelSampleHook[CST]], optional) – Hooks to be called after the channel is sampled.

  • gain (float, optional) – Linear power gain factor a signal experiences when being propagated over this realization. \(1.0\) by default, meaning no gain or loss.

reciprocal_sample(sample, transmitter, receiver, *args, **kwargs)[source]
Return type:

TypeVar(CST, bound= ChannelSample)

sample(transmitter, receiver, *args, **kwargs)[source]
Return type:

TypeVar(CST, bound= ChannelSample)

abstract to_HDF(group)[source]

Serialize the channel realization to HDF5.

Parameters:

group (Group) – HDF5 group to serialize the channel realization to.

Return type:

None

property gain: float

Linear power gain factor a signal experiences when being propagated over this realization.

property sample_hooks: Set[ChannelSampleHook[CST]]

Hooks to be called after the channel is sampled.

class CRT

Type of channel realization.

alias of TypeVar(‘CRT’, bound=ChannelRealization)