Skip to content

tx_data_generator

rfsoc_rfdc.transmitter.tx_data_generator

Attributes

Classes

TxDataGenerator(tx_file=None)

Source code in rfsoc_rfdc/transmitter/tx_data_generator.py
def __init__(self, tx_file=None):
    self.tx_file = tx_file
Attributes
tx_file = tx_file instance-attribute
Functions
get_iq_samples()
Source code in rfsoc_rfdc/transmitter/tx_data_generator.py
def get_iq_samples(self):
    if self.tx_file is None:
        return self._tx_data_from_dsp()
    else:
        return self._tx_data_from_file(self.tx_file)

Functions