RENEWLab  1.1.0
RENEW project
iris_py.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, both_channels=False, agc_en=False)
 
def set_trigger (self)
 
def set_corr (self)
 
def sdr_gettriggers (self)
 
def unset_corr (self)
 
def sdr_settxgain (self, tx_gain)
 
def config_sdr_tdd (self, is_bs=True, tdd_sched="G", prefix_len=0, max_frames=1)
 
def config_gain_ctrl (self)
 
def sync_delays (self)
 
def setup_stream_rx (self)
 
def activate_stream_rx (self, flags=0)
 
def burn_beacon (self)
 
def burn_data (self, data_r, data_i=None, replay_addr=0)
 
def recv_stream_tdd (self)
 
def close (self)
 
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=1, 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
 
 serial_id
 
 sample_rate
 
 n_samp
 
 agc_en
 
 both_channels
 
 max_frames
 
 tx_stream
 Setup channel rates, ports, gains, and filters ###. More...
 
 tdd_sched
 
 rx_stream
 
 n_zpad_samp
 

Detailed Description

SDR Class: #######.

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

Constructor & Destructor Documentation

◆ __init__() [1/2]

def iris_py.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,
  both_channels = False,
  agc_en = False 
)
Here is the caller graph for this function:

◆ __init__() [2/2]

def iris_py.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 = 1,
  both_channels = False,
  agc_en = False 
)
Here is the call graph for this function:

Member Function Documentation

◆ activate_stream_rx() [1/2]

def iris_py.Iris_py.activate_stream_rx (   self,
  flags = 0 
)
Here is the caller graph for this function:

◆ activate_stream_rx() [2/2]

def iris_py.Iris_py.activate_stream_rx (   self,
  flags = 0 
)
Here is the call graph for this function:

◆ burn_beacon() [1/2]

def iris_py.Iris_py.burn_beacon (   self)
Write beacon to the FPGA ram
Here is the call graph for this function:
Here is the caller graph for this function:

◆ burn_beacon() [2/2]

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

◆ burn_data() [1/2]

def iris_py.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:

◆ burn_data() [2/2]

def iris_py.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:

◆ close() [1/2]

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

◆ close() [2/2]

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

◆ config_beacon()

def iris_py.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_gain_ctrl()

def iris_py.Iris_py.config_gain_ctrl (   self)

◆ config_sdr_tdd() [1/2]

def iris_py.Iris_py.config_sdr_tdd (   self,
  is_bs = True,
  tdd_sched = "G",
  prefix_len = 0,
  max_frames = 1 
)
Configure the TDD schedule and functionality when unchained. Set up the correlator.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ config_sdr_tdd() [2/2]

def iris_py.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.Iris_py.config_sdr_tdd_chained (   self,
  tdd_sched = None 
)
Configure the TDD schedule and functionality when chained.

◆ recv_stream_tdd() [1/2]

def iris_py.Iris_py.recv_stream_tdd (   self)
Read an incoming stream.
Here is the caller graph for this function:

◆ recv_stream_tdd() [2/2]

def iris_py.Iris_py.recv_stream_tdd (   self)
Read an incoming stream.
Here is the call graph for this function:

◆ sdr_gettriggers()

def iris_py.Iris_py.sdr_gettriggers (   self)

◆ sdr_settxgain()

def iris_py.Iris_py.sdr_settxgain (   self,
  tx_gain 
)
Here is the call graph for this function:

◆ set_corr() [1/2]

def iris_py.Iris_py.set_corr (   self)
enable the correlator, with inputs from adc
Here is the caller graph for this function:

◆ set_corr() [2/2]

def iris_py.Iris_py.set_corr (   self)
enable the correlator, with inputs from adc
Here is the call graph for this function:

◆ set_trigger() [1/2]

def iris_py.Iris_py.set_trigger (   self)
Here is the caller graph for this function:

◆ set_trigger() [2/2]

def iris_py.Iris_py.set_trigger (   self,
  trig = False 
)
Here is the call graph for this function:

◆ setup_stream_rx() [1/2]

def iris_py.Iris_py.setup_stream_rx (   self)
Here is the caller graph for this function:

◆ setup_stream_rx() [2/2]

def iris_py.Iris_py.setup_stream_rx (   self)
Here is the call graph for this function:

◆ sync_delays() [1/2]

def iris_py.Iris_py.sync_delays (   self)
Here is the caller graph for this function:

◆ sync_delays() [2/2]

def iris_py.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.
Here is the call graph for this function:

◆ tx_gain_ctrl()

def iris_py.Iris_py.tx_gain_ctrl (   self)

◆ unset_corr()

def iris_py.Iris_py.unset_corr (   self)

Member Data Documentation

◆ agc_en

iris_py.Iris_py.agc_en

◆ both_channels

iris_py.Iris_py.both_channels

◆ max_frames

iris_py.Iris_py.max_frames

◆ n_samp

iris_py.Iris_py.n_samp

◆ n_zpad_samp

iris_py.Iris_py.n_zpad_samp

◆ rx_stream

iris_py.Iris_py.rx_stream

◆ sample_rate

iris_py.Iris_py.sample_rate

◆ sdr

iris_py.Iris_py.sdr

◆ serial_id

iris_py.Iris_py.serial_id

◆ tdd_sched

iris_py.Iris_py.tdd_sched

◆ tx_stream

iris_py.Iris_py.tx_stream

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


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