libcdx: Interfaces to the Channel Data Exchange (CDX) File Format
C++, Python, and Matlab library to exchange data for radio propagation channels
Files | Variables
cdx-plot-discrete-delay-file
Collaboration diagram for cdx-plot-discrete-delay-file:

Files

file  cdx-plot-discrete-delay-file
 

Variables

int cdx-plot-discrete-delay-file.figure_width_cm = 18
 
int cdx-plot-discrete-delay-file.figure_height_cm = 4
 
dictionary cdx-plot-discrete-delay-file.params
 
 cdx-plot-discrete-delay-file.parser = argparse.ArgumentParser()
 
 cdx-plot-discrete-delay-file.help
 
 cdx-plot-discrete-delay-file.action
 
 cdx-plot-discrete-delay-file.args = parser.parse_args()
 
bool cdx-plot-discrete-delay-file.store_figure = True
 
int cdx-plot-discrete-delay-file.figure_dpi = 300
 
 cdx-plot-discrete-delay-file.file_name = args.input
 
int cdx-plot-discrete-delay-file.nof_x_points = 0
 
float cdx-plot-discrete-delay-file.start_time = 0.0
 
float cdx-plot-discrete-delay-file.length = 0.0
 
 cdx-plot-discrete-delay-file.cdx_file = cdx.ReadDiscreteDelayFile.ReadDiscreteDelayFile(args.input)
 
 cdx-plot-discrete-delay-file.fig = plt.figure(figsize=(figure_width_cm / 2.54, cdx_file.get_nof_links() * figure_height_cm / 2.54), dpi=figure_dpi)
 
int cdx-plot-discrete-delay-file.act_plot = 1
 
 cdx-plot-discrete-delay-file.link_names = cdx_file.get_link_names()
 
 cdx-plot-discrete-delay-file.nof_links = cdx_file.get_nof_links()
 
 cdx-plot-discrete-delay-file.cirs
 
 cdx-plot-discrete-delay-file.times
 
 cdx-plot-discrete-delay-file.delays
 
 cdx-plot-discrete-delay-file.ref_delays
 
 cdx-plot-discrete-delay-file.x_axis = times
 
 cdx-plot-discrete-delay-file.y_axis = delays
 
 cdx-plot-discrete-delay-file.nof_x = cirs.shape[1]
 
 cdx-plot-discrete-delay-file.nof_y = cirs.shape[0]
 
 cdx-plot-discrete-delay-file.x_step = floor(nof_x / nof_x_points)
 
 cdx-plot-discrete-delay-file.data = zeros((nof_y, nof_x_points), dtype=complex)
 
 cdx-plot-discrete-delay-file.idx_into_cirs = int(floor(float(x) / nof_x_points * nof_x))
 
int cdx-plot-discrete-delay-file.data_dB = 20*log10(abs(data))
 
 cdx-plot-discrete-delay-file.ax = fig.add_subplot(nof_links, 1, act_plot)
 
 cdx-plot-discrete-delay-file.cax
 
 cdx-plot-discrete-delay-file.cbar = fig.colorbar(cax)
 
 cdx-plot-discrete-delay-file.pl_ref = ax.plot(x_axis, ref_delays/1e-9, 'm', linewidth=1.5, label='Reference delay')
 
 cdx-plot-discrete-delay-file.before_min_delay = float(args.margin_before_min_ref_delay)
 
 cdx-plot-discrete-delay-file.after_max_delay = float(args.margin_after_max_ref_delay)
 
 cdx-plot-discrete-delay-file.head
 
 cdx-plot-discrete-delay-file.file_prefix
 
 cdx-plot-discrete-delay-file.extension = ".png"
 
 cdx-plot-discrete-delay-file.out_file_name = file_prefix + extension
 
 cdx-plot-discrete-delay-file.bbox_inches
 
 cdx-plot-discrete-delay-file.dpi
 

Detailed Description

Variable Documentation

◆ cax

cdx-plot-discrete-delay-file.cax
Initial value:
1 = ax.imshow(data_dB, interpolation='nearest', aspect='auto', origin='bottom',
2  extent=[x_axis[0][0], x_axis[-1][0], y_axis[0][0]/1e-9, y_axis[-1][0]/1e-9],
3  vmin=-60, vmax=0)

◆ params

dictionary cdx-plot-discrete-delay-file.params
Initial value:
1 = {'legend.fontsize': 8,
2  'font.size' : 8,
3  'font.family': 'sans-serif',
4  'xtick.labelsize': 8,
5  'ytick.labelsize': 8,
6  'axes.labelsize': 8,
7  'lines.linewidth': .5,
8  'axes.linewidth': 0.5
9 # 'legend.linewidth': 0.5
10  }