RENEWLab  1.1.0
RENEW project
WB_CAL_DEMO Namespace Reference

Functions

def signal_handler (signum, frame)
 
def init (hub, bnodes, ref_ant, ampl, rate, freq, txgain, rxgain, cyc_prefix, num_samps, prefix_length, postfix_length, take_duration, both_channels, plotter)
 
def main ()
 

Variables

int RF_RST_REG = 48
 
int CORR_CONF = 60
 
int CORR_RST = 64
 
int CORR_THRESHOLD = 92
 
int TDD_CONF_REG = 120
 
int SCH_ADDR_REG = 136
 
int SCH_MODE_REG = 140
 
int NUM_BUFFER_SAMPS = 3000
 
float LTS_THRESH = 0.8
 
bool RUNNING = True
 

Detailed Description

WB_CAL_DEMO.py

 Wideband calibration demo:
 It performs Argos calibration method among anntennas
 within a base station, and plots the magnitude and phase
 of the calibration vector on 4 select subcarriers for
 all antennas.

Example:
   python3 WB_CAL_DEMO.py

---------------------------------------------------------------------
Copyright (c) 2018-2019, Rice University
RENEW OPEN SOURCE LICENSE: http://renew-wireless.org/license
---------------------------------------------------------------------

Function Documentation

◆ init()

def WB_CAL_DEMO.init (   hub,
  bnodes,
  ref_ant,
  ampl,
  rate,
  freq,
  txgain,
  rxgain,
  cyc_prefix,
  num_samps,
  prefix_length,
  postfix_length,
  take_duration,
  both_channels,
  plotter 
)
main function initializing all radios and performing calibration
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

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

◆ signal_handler()

def WB_CAL_DEMO.signal_handler (   signum,
  frame 
)

Variable Documentation

◆ CORR_CONF

int WB_CAL_DEMO.CORR_CONF = 60

◆ CORR_RST

int WB_CAL_DEMO.CORR_RST = 64

◆ CORR_THRESHOLD

int WB_CAL_DEMO.CORR_THRESHOLD = 92

◆ LTS_THRESH

float WB_CAL_DEMO.LTS_THRESH = 0.8

◆ NUM_BUFFER_SAMPS

int WB_CAL_DEMO.NUM_BUFFER_SAMPS = 3000

◆ RF_RST_REG

int WB_CAL_DEMO.RF_RST_REG = 48

◆ RUNNING

bool WB_CAL_DEMO.RUNNING = True

◆ SCH_ADDR_REG

int WB_CAL_DEMO.SCH_ADDR_REG = 136

◆ SCH_MODE_REG

int WB_CAL_DEMO.SCH_MODE_REG = 140

◆ TDD_CONF_REG

int WB_CAL_DEMO.TDD_CONF_REG = 120