Combiners

Inheritance diagram of hermespy.simulation.rf.blocks.sum.Sum

Radio-Frequency (RF) combiners merge multiple input signals into a single output signal. In the process, they may introduce insertion loss and phase imbalance.

This module provides various numerical models of RF combiners.

class Sum(num_input_ports, seed=None)[source]

Bases: RFBlock

A simple radio-frequency block that sums all input signals.

Parameters:
  • num_input_ports (int) – Number of input ports to the block.

  • seed (int | None) – Seed with which to initialize the block’s random state.

realize(bandwidth, oversampling_factor, carrier_frequency)[source]

Return the current state of the radio-frequency block.

Parameters:
  • bandwidth (float) – Bandwith of the proecessed signals in Hz.

  • oversampling_factor (int) – Oversampling factor of the modeling.

  • carrier_frequency (float) – Target carrier frequency of the modeled radio front-end in Hz.

Return type:

RFBlockRealization

Returns:

Current state of the radio-frequency block.

property i: RFBlockPort[Sum][source]

Input ports of the summation block.

Number of ports is equal to the number of input ports specified during initialization.

property num_input_ports: int[source]

Number of physical ports feeding into this radio-frequency block.

If the returned number is negative, the block can accept an arbitrary number of input ports.

property num_output_ports: int[source]

Number of physical ports emerging from this radio-frequency block.

property o: RFBlockPort[Sum][source]

Output port of the summation block.