Communication Evaluator

Inheritance diagram of hermespy.modem.evaluators.CommunicationEvaluator

Communication evaluators are the common base class of all evaluators estimating performance metrics of communication systems.

class CommunicationEvaluator(transmitting_modem, receiving_modem, plot_surface=True)[source]

Bases: Evaluator, ABC

Base class for evaluating communication processes between two modems.

Parameters:
  • transmitting_modem (TransmittingModem) – Communication modem transmitting information.

  • receiving_modem (ReceivingModem) – Communication modem receiving information.

  • plot_surface (bool, optional) – Plot the surface of the evaluation result in two-dimensional grids. Defaults to True.

generate_result(grid, artifacts)[source]

Generates an evaluation result from the artifacts collected over the whole simulation grid.

Parameters:
  • grid (Sequence[GridDimension]) – The Simulation grid.

  • artifacts (numpy.ndarray) – Numpy object array whose dimensions represent grid dimensions.

Return type:

ScalarEvaluationResult

Returns:

The evaluation result.

property receiving_modem: ReceivingModem

Communication modem receiving information.

property transmitting_modem: TransmittingModem

Communication modem transmitting information.