RENEWLab  1.1.0
RENEW project
NB_CAL_DEMO Namespace Reference

Functions

def signal_handler (signum, frame)
 
def calibrate_array (hub_serial, serials, ref_serial, rate, freq, txgain, rxgain, numSamps, prefix_pad, postfix_pad, second_channel)
 
def main ()
 

Variables

bool running = True
 

Detailed Description

    NB_CAL_DEMO.py

    NOTE: IRIS BOARDS MUST BE CHAINED FOR THIS SCRIPT TO WORK.
    ORDER MATTERS; FIRST NON-REF BOARD (SERIALS) IS THE ONE SENDING THE TRIGGER.

    This script is used for watching the recprocity amplitude and phases of
    narrow-band (sine) signals between all boards and a reference board.
    The reference board will be the first serial that appears in the bs_serials.txt
    file.
    It programs two Irises in TDD mode with the a framing schedule.

    Example:
        python3 NB_CAL_DEMO.py --serials=../IrisUtils/data_in/bs_serials.txt

    where "xxxx" is the serial number of an Iris node in the base station.

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

Function Documentation

◆ calibrate_array()

def NB_CAL_DEMO.calibrate_array (   hub_serial,
  serials,
  ref_serial,
  rate,
  freq,
  txgain,
  rxgain,
  numSamps,
  prefix_pad,
  postfix_pad,
  second_channel 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

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

◆ signal_handler()

def NB_CAL_DEMO.signal_handler (   signum,
  frame 
)

Variable Documentation

◆ running

bool NB_CAL_DEMO.running = True