def make_src (self, options): self.nchannels = options.nchannels if options.fake_rf: return rflib.fake_rx() else: #return usrp.source_c(options.which_board) return uhd.usrp_source(device_addr=options.address,\ io_type=uhd.io_type.COMPLEX_FLOAT32,\ num_channels=1)
def make_src (self, options): if options.fake_rf: return rflib.fake_rx() else: return usrp.source_c(options.which_board)