|
RENEWLab
1.1.0
RENEW project
|
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 | |
SDR Class: #######.
Iris python class. To act as a middle layer between Matlab classes and SoapySDRs
| 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 |
|||
| ) |
| def iris_py_single_frame.Iris_py.activate_stream_rx | ( | self, | |
flags = 0 |
|||
| ) |
| def iris_py_single_frame.Iris_py.burn_beacon | ( | self, | |
prefix_len = 82 |
|||
| ) |
Write beacon to the FPGA ram

| 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


| def iris_py_single_frame.Iris_py.close | ( | self | ) |
Cleanup streams. Rest SDRs

| def iris_py_single_frame.Iris_py.config_beacon | ( | self, | |
prefix_len = 0 |
|||
| ) |
Zero-pad beacon to aling with the frame length

| 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.

| def iris_py_single_frame.Iris_py.config_sdr_tdd_chained | ( | self, | |
tdd_sched = None |
|||
| ) |
Configure the TDD schedule and functionality when chained.
| def iris_py_single_frame.Iris_py.recv_stream_tdd | ( | self | ) |
Read an incoming stream.
| def iris_py_single_frame.Iris_py.set_corr | ( | self | ) |
enable the correlator, with inputs from adc
| def iris_py_single_frame.Iris_py.set_trigger | ( | self, | |
trig = False |
|||
| ) |
| def iris_py_single_frame.Iris_py.setup_stream_rx | ( | self | ) |
| 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.
| def iris_py_single_frame.Iris_py.tx_gain_ctrl | ( | self | ) |
| iris_py_single_frame.Iris_py.agc_en |
| iris_py_single_frame.Iris_py.both_channels |
| iris_py_single_frame.Iris_py.max_frames |
| iris_py_single_frame.Iris_py.n_samp |
| iris_py_single_frame.Iris_py.n_zpad_samp |
| iris_py_single_frame.Iris_py.rx_stream |
| iris_py_single_frame.Iris_py.sample_rate |
| iris_py_single_frame.Iris_py.sdr |
| iris_py_single_frame.Iris_py.tdd_sched |
| iris_py_single_frame.Iris_py.tx_stream |
Setup channel rates, ports, gains, and filters ###.