Visualization

class ArtifactPlot(evaluator, queue_length=20, y_axis_limits=None, title='', canvas=None, axes=None)[source]

Bases: HardwareLoopEvaluatorPlot[PlotVisualization]

Plot of an evaluation’s scalar artifact.

Parameters:
  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

class DSPReceptionPlot(dsp, title='', canvas=None, axes=None, space='time')[source]

Bases: SignalPlot

Plot base-band signals processed by a digital signal processing algorithm.

Parameters:
  • dsp (Receiver) – Receiving DSP algorithm of which information is to be plotted.

  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

  • space (Literal['time', 'frequency', 'both']) – Space in which the signal is to be plotted. By the default, the signal is plotted in the time domain.

class DSPTransmissionPlot(dsp, title='', canvas=None, axes=None, space='time')[source]

Bases: SignalPlot

Plot base-band signals generated by a digital signal processing algorithm.

Parameters:
  • dsp (Transmitter) – Transmitting DSP algorithm of which information is to be plotted.

  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

  • space (Literal['time', 'frequency', 'both']) – Space in which the signal is to be plotted. By the default, the signal is plotted in the time domain.

class DeviceReceptionPlot(device, title='', canvas=None, axes=None, space='time')[source]

Bases: HardwareLoopDevicePlot[PlotVisualization], SignalPlot

Plot base-band signals received by a device.

Parameters:
  • device (PhysicalDevice) – Physical device of which information is to be plotted.

  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

  • space (Literal['time', 'frequency']) – Space in which the signal is to be plotted. By the default, the signal is plotted in the time domain.

class DeviceTransmissionPlot(device, title='', canvas=None, axes=None, space='time')[source]

Bases: HardwareLoopDevicePlot[PlotVisualization], SignalPlot

Plot base-band signals transmitted by a device.

Parameters:
  • device (PhysicalDevice) – Physical device of which information is to be plotted.

  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

  • space (Literal['time', 'frequency', 'both']) – Space in which the signal is to be plotted. By the default, the signal is plotted in the time domain.

class EvaluationPlot(evaluator, title='', canvas=None, axes=None)[source]

Bases: Generic[VT], HardwareLoopEvaluatorPlot[VT]

Plot of an evaluation.

Parameters:
  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

class EyePlot(modem, title=None, canvas=None, axes=None)[source]

Bases: HardwareLoopPlot[PlotVisualization]

Plot eye diagrams of a received signal.

Parameters:
  • modem (ReceivingModem) – Modem of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

class HardwareLoopDevicePlot(device, title=None, canvas=None, axes=None)[source]

Bases: Generic[VT], HardwareLoopPlot[VT], ABC

Base class for plots of information generated by a device.

Parameters:
  • device (PhysicalDevice) – Physical device of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

property device: PhysicalDevice[source]

Physical device of which information is to be plotted.

class HardwareLoopEvaluatorPlot(evaluator, title='', canvas=None, axes=None)[source]

Bases: Generic[VT], HardwareLoopPlot[VT], ABC

Common base class for plots of information generated by an evaluator.

Parameters:
  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

property evaluator: Evaluator[source]

Evaluator of which information is to be plotted.

property evaluator_index: int[source]

Index of the evaluator within the HardwareLoop’s configuration.

class RadarRangePlot(radar, title=None, canvas=None, axes=None)[source]

Bases: HardwareLoopPlot[PlotVisualization]

Plot of a radar’s range-power profile.

Parameters:
  • radar (Radar) – Radar of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

property radar: Radar[source]

Radar of which information is to be plotted.

class RadarRangeVelocityPlot(radar, title=None, canvas=None, axes=None)[source]

Bases: HardwareLoopPlot[QuadMeshVisualization]

Plot of a radar’s range-velocity power profile.

Parameters:
  • radar (Radar) – Radar of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

property radar: Radar[source]

Radar of which information is to be plotted.

class ReceivedConstellationPlot(modem, title=None, canvas=None, axes=None)[source]

Bases: HardwareLoopPlot[ScatterVisualization]

Plot the constellation diagram of a received communication event.

Parameters:
  • modem (ReceivingModem) – Modem of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

class SignalPlot(title='', canvas=None, axes=None, space='time')[source]

Bases: HardwareLoopPlot[PlotVisualization], ABC

Base class of hardware loop plots visualizing signal models.

Parameters:
  • title (str) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.

property space: Literal['time', 'frequency', 'both'][source]

Space in which the signal is to be plotted.

class TransmittedConstellationPlot(modem, title=None, canvas=None, axes=None)[source]

Bases: HardwareLoopPlot[ScatterVisualization]

Plot the constellation diagram of a transmitted communication event.

Parameters:
  • modem (TransmittingModem) – Modem of which information is to be plotted.

  • title (str | None) – Title of the hardware loop plot. If not specified, resorts to the default title of the plot.

  • canvas (FigureCanvasBase | None) – Canvas to plot into. If not specified, a new canvas is created.

  • axes (ndarray[tuple[int, int], dtype[Any]] | None) – Visualization axes to plot into. If not specified, a new figure is created.