Channel Realization

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

Bases: Serializable, 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 (Optional[Set[ChannelSampleHook[TypeVar(CST, bound= ChannelSample)]]]) – Hooks to be called after the channel is sampled.

  • gain (float) – 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)

serialize(process)[source]

Serialize this object’s state.

Objects cannot be serialized directly, instead a Factory must be instructed to carry out the serialization process.

Parameters:

process (SerializationProcess) – The current stage of the serialization process. This object is generated by the Factory and provides an interface to serialization methods supporting multiple backends.

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)