RENEWLab  1.1.0
RENEW project
iris_py_single_frame Namespace Reference

Classes

class  Iris_py
 SDR Class: #######. More...
 

Variables

int CORR_THRESHOLD = 92
 
int CORR_RST = 64
 
int CORR_CONF = 60
 
int RF_RST_REG = 48
 
int TDD_CONF_REG = 120
 
int SCH_ADDR_REG = 136
 
int SCH_MODE_REG = 140
 
int TX_GAIN_CTRL = 88
 
int FPGA_IRIS030_WR_PKT_DET_THRESH = 288
 
int FPGA_IRIS030_WR_PKT_DET_NUM_SAMPS = 292
 
int FPGA_IRIS030_WR_PKT_DET_ENABLE = 296
 
int FPGA_IRIS030_WR_PKT_DET_NEW_FRAME = 300
 
int tx_advance = 68
 
int corr_threshold = 1
 
 preambles_bs = generate_training_seq(preamble_type='gold_ifft', seq_length=128, cp=0, upsample=1)
 
int beacon = preambles_bs[0, :]*.5
 
 parser = ArgumentParser()
 
 type
 
 str
 
 dest
 
 help
 
 default
 
 float
 
 args = parser.parse_args()
 
 siso_bs
 
 siso_ue
 
 nsamps = siso_bs.n_samp
 
int upsample = 1
 
int ampl = 1
 
int nsamps_pad = 82
 
int n_sym_samp = nsamps + 2*nsamps_pad - 14
 
 ltsSym
 
 lts_f
 
 preamble_type
 
 cp
 
 pad1 = np.zeros((nsamps_pad), np.complex64)
 
 pad2 = np.zeros((nsamps_pad-14), np.complex64)
 
int wb_pilot = np.tile(ltsSym,nsamps//len(ltsSym)).astype(np.complex64)*.5
 
 wbz = np.zeros((n_sym_samp), dtype=np.complex64)
 
 wb_pilot1 = np.concatenate([pad1,wb_pilot,pad2])
 
 wb_pilot2 = wbz
 
 beacon1 = siso_bs.config_beacon(nsamps_pad)
 
 beacon1_r = np.real(beacon1)
 
 beacon1_i = np.imag(beacon1)
 
 wb_pilot1_r = np.real(wb_pilot1)
 
 wb_pilot1_i = np.imag(wb_pilot1)
 
 tdd_sched
 
 is_bs
 
 wave_rx_a_bs_mn = siso_bs.recv_stream_tdd()
 
float freq = 3.6e9
 
 fig = plt.figure(figsize=(20, 8), dpi=100)
 
 ax1 = fig.add_subplot(2, 1, 1)
 
 ax2 = fig.add_subplot(2, 1, 2)
 
 label
 

Variable Documentation

◆ ampl

int iris_py_single_frame.ampl = 1

◆ args

iris_py_single_frame.args = parser.parse_args()

◆ ax1

iris_py_single_frame.ax1 = fig.add_subplot(2, 1, 1)

◆ ax2

iris_py_single_frame.ax2 = fig.add_subplot(2, 1, 2)

◆ beacon

int iris_py_single_frame.beacon = preambles_bs[0, :]*.5

◆ beacon1

iris_py_single_frame.beacon1 = siso_bs.config_beacon(nsamps_pad)

◆ beacon1_i

iris_py_single_frame.beacon1_i = np.imag(beacon1)

◆ beacon1_r

iris_py_single_frame.beacon1_r = np.real(beacon1)

◆ CORR_CONF

int iris_py_single_frame.CORR_CONF = 60

◆ CORR_RST

int iris_py_single_frame.CORR_RST = 64

◆ CORR_THRESHOLD

int iris_py_single_frame.CORR_THRESHOLD = 92

◆ corr_threshold

int iris_py_single_frame.corr_threshold = 1

◆ cp

iris_py_single_frame.cp

◆ default

iris_py_single_frame.default

◆ dest

iris_py_single_frame.dest

◆ fig

iris_py_single_frame.fig = plt.figure(figsize=(20, 8), dpi=100)

◆ float

iris_py_single_frame.float

◆ FPGA_IRIS030_WR_PKT_DET_ENABLE

int iris_py_single_frame.FPGA_IRIS030_WR_PKT_DET_ENABLE = 296

◆ FPGA_IRIS030_WR_PKT_DET_NEW_FRAME

int iris_py_single_frame.FPGA_IRIS030_WR_PKT_DET_NEW_FRAME = 300

◆ FPGA_IRIS030_WR_PKT_DET_NUM_SAMPS

int iris_py_single_frame.FPGA_IRIS030_WR_PKT_DET_NUM_SAMPS = 292

◆ FPGA_IRIS030_WR_PKT_DET_THRESH

int iris_py_single_frame.FPGA_IRIS030_WR_PKT_DET_THRESH = 288

◆ freq

float iris_py_single_frame.freq = 3.6e9

◆ help

iris_py_single_frame.help

◆ is_bs

iris_py_single_frame.is_bs

◆ label

iris_py_single_frame.label

◆ lts_f

iris_py_single_frame.lts_f

◆ ltsSym

iris_py_single_frame.ltsSym

◆ n_sym_samp

int iris_py_single_frame.n_sym_samp = nsamps + 2*nsamps_pad - 14

◆ nsamps

iris_py_single_frame.nsamps = siso_bs.n_samp

◆ nsamps_pad

int iris_py_single_frame.nsamps_pad = 82

◆ pad1

iris_py_single_frame.pad1 = np.zeros((nsamps_pad), np.complex64)

◆ pad2

iris_py_single_frame.pad2 = np.zeros((nsamps_pad-14), np.complex64)

◆ parser

iris_py_single_frame.parser = ArgumentParser()

◆ preamble_type

iris_py_single_frame.preamble_type

◆ preambles_bs

iris_py_single_frame.preambles_bs = generate_training_seq(preamble_type='gold_ifft', seq_length=128, cp=0, upsample=1)

◆ RF_RST_REG

int iris_py_single_frame.RF_RST_REG = 48

◆ SCH_ADDR_REG

int iris_py_single_frame.SCH_ADDR_REG = 136

◆ SCH_MODE_REG

int iris_py_single_frame.SCH_MODE_REG = 140

◆ siso_bs

iris_py_single_frame.siso_bs
Initial value:
1 = Iris_py(
2  serial_id = "0339",
3  sample_rate = args.rate,
4  tx_freq = args.freq,
5  rx_freq = args.freq,
6  bw = args.bw,
7  tx_gain = args.txGain,
8  rx_gain = args.rxGain,
9  n_samp = 1024,
10  )

◆ siso_ue

iris_py_single_frame.siso_ue
Initial value:
1 = Iris_py(
2  serial_id = "RF3C000045",
3  sample_rate = args.rate,
4  tx_freq = args.freq,
5  rx_freq = args.freq,
6  bw = args.bw,
7  tx_gain = args.txGain,
8  rx_gain = args.rxGain,
9  n_samp = 1024,
10  )

◆ str

iris_py_single_frame.str

◆ TDD_CONF_REG

int iris_py_single_frame.TDD_CONF_REG = 120

◆ tdd_sched

iris_py_single_frame.tdd_sched

◆ tx_advance

int iris_py_single_frame.tx_advance = 68

◆ TX_GAIN_CTRL

int iris_py_single_frame.TX_GAIN_CTRL = 88

◆ type

iris_py_single_frame.type

◆ upsample

iris_py_single_frame.upsample = 1

◆ wave_rx_a_bs_mn

iris_py_single_frame.wave_rx_a_bs_mn = siso_bs.recv_stream_tdd()

◆ wb_pilot

int iris_py_single_frame.wb_pilot = np.tile(ltsSym,nsamps//len(ltsSym)).astype(np.complex64)*.5

◆ wb_pilot1

iris_py_single_frame.wb_pilot1 = np.concatenate([pad1,wb_pilot,pad2])

◆ wb_pilot1_i

iris_py_single_frame.wb_pilot1_i = np.imag(wb_pilot1)

◆ wb_pilot1_r

iris_py_single_frame.wb_pilot1_r = np.real(wb_pilot1)

◆ wb_pilot2

iris_py_single_frame.wb_pilot2 = wbz

◆ wbz

iris_py_single_frame.wbz = np.zeros((n_sym_samp), dtype=np.complex64)