Extra Operators

Inheritance diagram of hermespy.core.operators.SilentTransmitter, hermespy.core.operators.SignalTransmitter, hermespy.core.operators.SignalReceiver, hermespy.core.operators.StaticOperator

This module contains convenience transmit and receive signal processing layers used primarily for debugging and trouble shooting.

class SilentTransmitter(num_samples, sampling_rate, *args, **kwargs)[source]

Bases: StaticOperator, Transmitter[Transmission], Serializable

Silent transmitter mock.

Parameters:
  • num_samples (int) – Number of samples per transmission.

  • sampling_rate (float) – Sampling rate of transmission.

property power: float

Expected power of the transmitted signal in Watts.

Note

Applies only to the signal-carrying parts of the transmission, silent parts shuch as guard intervals should not be considered.

class SignalTransmitter(signal, *args, **kwargs)[source]

Bases: StaticOperator, Transmitter[Transmission], Serializable

Custom signal transmitter.

Parameters:

signal (Signal) – Signal to be transmittered by the static operator for each transmission.

property power: float

Expected power of the transmitted signal in Watts.

Note

Applies only to the signal-carrying parts of the transmission, silent parts shuch as guard intervals should not be considered.

property signal: Signal

Signal to be transmitted by the static operator for each transmission.

class SignalReceiver(num_samples, sampling_rate, expected_power=0.0, *args, **kwargs)[source]

Bases: StaticOperator, Receiver[Reception], Serializable

Custom signal receiver.

Parameters:
  • num_samples (int) – Number of samples per transmission.

  • sampling_rate (float) – Sampling rate of transmission.

property energy: float
property power: float

Expected power of the received signal in Watts.

Note

Applies only to the signal-carrying parts of the transmission, silent parts shuch as guard intervals should not be considered.

class StaticOperator(num_samples, sampling_rate)[source]

Bases: object

Base class for static device operators

Parameters:
  • num_samples (int) – Number of samples per transmission.

  • sampling_rate (float) – Sampling rate of transmission.

property frame_duration: float
property num_samples: int

Number of samples per transmission.

Returns: Number of samples.

property sampling_rate: float