RENEWLab  1.1.0
RENEW project
iris_py_single_frame.Iris_py Class Reference

SDR Class: #######. More...

Public Member Functions

def __init__ (self, serial_id=None, tx_freq=None, rx_freq=None, tx_gain=None, rx_gain=None, bw=None, sample_rate=None, n_samp=None, n_zpad_samp=150, max_frames=10, both_channels=False, agc_en=False)
 
def set_trigger (self, trig=False)
 
def set_corr (self)
 
def config_sdr_tdd_chained (self, tdd_sched=None)
 
def config_sdr_tdd (self, tdd_sched=None, is_bs=True)
 
def tx_gain_ctrl (self)
 
def sync_delays (self, is_bs=True)
 
def setup_stream_rx (self)
 
def activate_stream_rx (self, flags=0)
 
def config_beacon (self, prefix_len=0)
 
def burn_beacon (self, prefix_len=82)
 
def burn_data (self, data_r, data_i=None, replay_addr=0)
 
def recv_stream_tdd (self)
 
def close (self)
 

Public Attributes

 sdr
 
 sample_rate
 
 n_samp
 
 agc_en
 
 both_channels
 
 n_zpad_samp
 
 max_frames
 
 tx_stream
 Setup channel rates, ports, gains, and filters ###. More...
 
 tdd_sched
 
 rx_stream
 

Detailed Description

SDR Class: #######.

    Iris python class. To act as a middle layer between Matlab classes and SoapySDRs

Constructor & Destructor Documentation

◆ __init__()

def iris_py_single_frame.Iris_py.__init__ (   self,
  serial_id = None,
  tx_freq = None,
  rx_freq = None,
  tx_gain = None,
  rx_gain = None,
  bw = None,
  sample_rate = None,
  n_samp = None,
  n_zpad_samp = 150,
  max_frames = 10,
  both_channels = False,
  agc_en = False 
)

Member Function Documentation

◆ activate_stream_rx()

def iris_py_single_frame.Iris_py.activate_stream_rx (   self,
  flags = 0 
)

◆ burn_beacon()

def iris_py_single_frame.Iris_py.burn_beacon (   self,
  prefix_len = 82 
)
Write beacon to the FPGA ram
Here is the call graph for this function:

◆ burn_data()

def iris_py_single_frame.Iris_py.burn_data (   self,
  data_r,
  data_i = None,
  replay_addr = 0 
)
Write data to FPGA RAM. A pilot for example. Need to compose a complex vector out of data_r and data_i
Here is the call graph for this function:
Here is the caller graph for this function:

◆ close()

def iris_py_single_frame.Iris_py.close (   self)
Cleanup streams. Rest SDRs
Here is the caller graph for this function:

◆ config_beacon()

def iris_py_single_frame.Iris_py.config_beacon (   self,
  prefix_len = 0 
)
Zero-pad beacon to aling with the frame length
Here is the caller graph for this function:

◆ config_sdr_tdd()

def iris_py_single_frame.Iris_py.config_sdr_tdd (   self,
  tdd_sched = None,
  is_bs = True 
)
Configure the TDD schedule and functionality when unchained. Set up the correlator.
Here is the call graph for this function:

◆ config_sdr_tdd_chained()

def iris_py_single_frame.Iris_py.config_sdr_tdd_chained (   self,
  tdd_sched = None 
)
Configure the TDD schedule and functionality when chained.

◆ recv_stream_tdd()

def iris_py_single_frame.Iris_py.recv_stream_tdd (   self)
Read an incoming stream.

◆ set_corr()

def iris_py_single_frame.Iris_py.set_corr (   self)
enable the correlator, with inputs from adc

◆ set_trigger()

def iris_py_single_frame.Iris_py.set_trigger (   self,
  trig = False 
)

◆ setup_stream_rx()

def iris_py_single_frame.Iris_py.setup_stream_rx (   self)

◆ sync_delays()

def iris_py_single_frame.Iris_py.sync_delays (   self,
  is_bs = True 
)
Synchronise delays. If is_bs = True, the BS sets the trigger off, else the UE resets the correlator.

◆ tx_gain_ctrl()

def iris_py_single_frame.Iris_py.tx_gain_ctrl (   self)

Member Data Documentation

◆ agc_en

iris_py_single_frame.Iris_py.agc_en

◆ both_channels

iris_py_single_frame.Iris_py.both_channels

◆ max_frames

iris_py_single_frame.Iris_py.max_frames

◆ n_samp

iris_py_single_frame.Iris_py.n_samp

◆ n_zpad_samp

iris_py_single_frame.Iris_py.n_zpad_samp

◆ rx_stream

iris_py_single_frame.Iris_py.rx_stream

◆ sample_rate

iris_py_single_frame.Iris_py.sample_rate

◆ sdr

iris_py_single_frame.Iris_py.sdr

◆ tdd_sched

iris_py_single_frame.Iris_py.tdd_sched

◆ tx_stream

iris_py_single_frame.Iris_py.tx_stream

Setup channel rates, ports, gains, and filters ###.


The documentation for this class was generated from the following file: