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 | Static Public Attributes | List of all members
cdx.FiguresGenerator.FiguresGenerator Class Reference

Class which provides functionality to generate plots such as channel impulse responses, power over time, or the delay spread. More...

Public Member Functions

def __init__ (self, file_name)
 
def get_scenery_image_for_time (self, link_name, time)
 
def make_cir_axes (self, ax, link_name, nof_cir)
 
def make_discr_cir_axes (self, ax, link_name, start_time, length)
 If length is zero, go until end of the file. More...
 
def make_delay_doppler_spectrum (self, ax, link_name, start_time=0.0, length=0.0)
 If length is zero, go until end of the file. More...
 
def make_power_axes (self, ax, link_name)
 
def make_delay_spread_axes (self, ax, link_name)
 
def make_nof_components_axes (self, ax, link_name)
 
def make_pdp_axes (self, ax, link_name, lower_prob=10e-7, upper_prob=10e0, figure=None)
 

Public Attributes

 cdx_enabled
 
 cdd_enabled
 
 cdx_file
 
 cdd_file
 
 link_names
 
 min_power_dB
 
 max_power_dB
 
 min_delay_s
 
 max_delay_s
 
 visualization_enabled
 
 frame_rate_Hz
 
 vis_link_dirs
 

Static Public Attributes

 im
 

Detailed Description

Class which provides functionality to generate plots such as channel impulse responses, power over time, or the delay spread.

The methods return matplotlib axis objects which can be added to matplotlib figure objects to display the plots.

Member Function Documentation

◆ make_delay_doppler_spectrum()

def cdx.FiguresGenerator.FiguresGenerator.make_delay_doppler_spectrum (   self,
  ax,
  link_name,
  start_time = 0.0,
  length = 0.0 
)

If length is zero, go until end of the file.

◆ make_discr_cir_axes()

def cdx.FiguresGenerator.FiguresGenerator.make_discr_cir_axes (   self,
  ax,
  link_name,
  start_time,
  length 
)

If length is zero, go until end of the file.

Member Data Documentation

◆ im

cdx.FiguresGenerator.FiguresGenerator.im
static
Initial value:
= ax.matshow(pdp, norm=LogNorm(vmin=lower_prob, vmax=upper_prob), #
extent=[del_ax[0] / 1e-9, del_ax[-1] / 1e-9, pwr_ax[0], pwr_ax[-1] ],
interpolation='bicubic', aspect='auto')

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