libcdx: Interfaces to the Channel Data Exchange (CDX) File Format
C++, Python, and Matlab library to exchange data for radio propagation channels
Public Member Functions | Public Attributes | List of all members
cdx-display.ChannelLink Class Reference

Class that generates a QWidget into which all plots for a link are inserted. More...

Inheritance diagram for cdx-display.ChannelLink:
Inheritance graph
[legend]
Collaboration diagram for cdx-display.ChannelLink:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, cdx_figures, link_name, enable_pdp, parent=None)
 
def initialize_link (self, link_name)
 Initializes the figures in a link. More...
 
def add_figure_to_canvas (self, fig)
 Adds a figure to a list of canvases. More...
 
def update (self, value, time)
 Updates the content of figures for a new time. More...
 
def combobox_index_changed (self, idx)
 Slot function when a new link name is selected in the combo box. More...
 

Public Attributes

 cdx_figures
 
 enable_pdp
 
 link_name
 
 current_value
 
 current_time
 
 vbox
 
 combobox
 
 hbox
 
 canvases
 
 cdd_span_s
 
 cdd_length_s
 
 scenery_label
 
 cir_figure
 
 cir_ax
 
 cir_discr_figure
 
 cir_discr_ax
 
 cir_discr_vline
 
 dds_figure
 
 dds_ax
 
 power_figure
 
 power_ax
 
 power_vline
 
 delay_spread_figure
 
 delay_spread_ax
 
 delay_spread_vline
 
 nof_components_figure
 
 nof_components_ax
 
 nof_components_vline
 
 pdp_figure
 
 pdp_ax
 

Detailed Description

Class that generates a QWidget into which all plots for a link are inserted.

Member Function Documentation

◆ add_figure_to_canvas()

def cdx-display.ChannelLink.add_figure_to_canvas (   self,
  fig 
)

Adds a figure to a list of canvases.

◆ combobox_index_changed()

def cdx-display.ChannelLink.combobox_index_changed (   self,
  idx 
)

Slot function when a new link name is selected in the combo box.

This deletes the axes and initializes the link again with the new link name.

◆ initialize_link()

def cdx-display.ChannelLink.initialize_link (   self,
  link_name 
)

Initializes the figures in a link.

Called on startup and when a new link is set in the combobox.

◆ update()

def cdx-display.ChannelLink.update (   self,
  value,
  time 
)

Updates the content of figures for a new time.

This

  • Updates the CIR plot,
  • sets the vertical linkes in the power and delay spread plots that indicate the current time,
  • and read a new Delay Spread Spectrum if a CDD file is present

The documentation for this class was generated from the following file: