RENEWLab  1.1.0
RENEW project
plot_hdf5 Namespace Reference

Functions

def verify_hdf5 (hdf5, frame_i=100, cell_i=0, ofdm_sym_i=0, ant_i=0, user_i=0, ul_sf_i=0, subcarrier_i=10, offset=-1, dn_calib_offset=0, up_calib_offset=0, thresh=0.001, deep_inspect=False, corr_thresh=0.00, exclude_bs_nodes=[], demodulate=False)
 
def analyze_hdf5 (hdf5, frame_i=10, cell_i=0, subcarrier_i=7, offset=-1, zoom=0, pl=0)
 
def compute_legacy (hdf5)
 
def show_plot (cmpx_pilots, lts_seq_orig, match_filt, ref_user, ref_ant, ref_frame, frm_st_idx)
 
def pilot_finder (samples, pilot_type, flip=False, pilot_seq=[], seq_length=64, cp=0)
 
def main ()
 

Detailed Description

 plot_hdf5.py

 Plotting from HDF5 file
 Script to analyze recorded hdf5 file from channel sounding (see Sounder/).
 Usage format is:
    ./plot_hdf5.py <hdf5_file_name>

 Example:
    ./plot_hdf5.py ../Sounder/logs/test-hdf5.py


---------------------------------------------------------------------
 Copyright © 2018-2020. Rice University.
 RENEW OPEN SOURCE LICENSE: http://renew-wireless.org/license
---------------------------------------------------------------------

Function Documentation

◆ analyze_hdf5()

def plot_hdf5.analyze_hdf5 (   hdf5,
  frame_i = 10,
  cell_i = 0,
  subcarrier_i = 7,
  offset = -1,
  zoom = 0,
  pl = 0 
)
Calculates and plots achievable rates from hdf5 traces
Here is the call graph for this function:
Here is the caller graph for this function:

◆ compute_legacy()

def plot_hdf5.compute_legacy (   hdf5)
Parse and plot data from legacy files
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

def plot_hdf5.main ( )
Here is the call graph for this function:

◆ pilot_finder()

def plot_hdf5.pilot_finder (   samples,
  pilot_type,
  flip = False,
  pilot_seq = [],
  seq_length = 64,
  cp = 0 
)
Find pilots from clients to each of the base station antennas

Input:
    samples    - Raw samples from pilots and data.
                 Dimensions: vector [1 x num samples]
    pilot_type - Type of TX pilot (e.g., 802.11 LTS)
    flip       - Needed for finding LTS function

Output:
    pilot     - Received pilot (from multiple clients)
    tx_pilot  - Transmitted pilot (same pilot sent by all clients)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ show_plot()

def plot_hdf5.show_plot (   cmpx_pilots,
  lts_seq_orig,
  match_filt,
  ref_user,
  ref_ant,
  ref_frame,
  frm_st_idx 
)
Plot channel analysis
Here is the caller graph for this function:

◆ verify_hdf5()

def plot_hdf5.verify_hdf5 (   hdf5,
  frame_i = 100,
  cell_i = 0,
  ofdm_sym_i = 0,
  ant_i = 0,
  user_i = 0,
  ul_sf_i = 0,
  subcarrier_i = 10,
  offset = -1,
  dn_calib_offset = 0,
  up_calib_offset = 0,
  thresh = 0.001,
  deep_inspect = False,
  corr_thresh = 0.00,
  exclude_bs_nodes = [],
  demodulate = False 
)
Plot data in the hdf5 file to verify contents.

Args:
    hdf5: An hdf5_lib object.
    frame_i: The index of the frame to be plotted.
    cell_i: The index of the hub where base station is connected.
    ofdm_sym_i: The index of the reference ofdm symbol in a pilot.
    ant_i: The index of the reference base station antenna.
    user_i: The index of the reference user.
Here is the call graph for this function:
Here is the caller graph for this function: