libcdx: Interfaces to the Channel Data Exchange (CDX) File Format
C++, Python, and Matlab library to exchange data for radio propagation channels
|
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 | |
This program plots a discrete-delay CDX file. The CIR is plotted for each link in file and saved to PNG graphic.
Command line parameters:
Parameter | Function |
---|---|
-f <file_name> | input discrete-delay CDX file |
-n | Number of points to be plotting on horizontal axis (frequency). This can be set to reduce the plots resolution. Must be greater than 0. |
-f | File format of the plot file to be stored. Either png or pdf. If not present, plot is not saved to disk. |
-s | Start time in file when processing should begin in s. |
-l | Length to be processed in seconds. |
-t <percentage> | Limit delay axis (vertical axis) to <percentage> * (max_delay - min_delay) |