pick_bitrate Namespace Reference


Functions

def pick_tx_bitrate
 Given the 4 input parameters, return at configuration that matches.
def pick_rx_bitrate
 Given the 4 input parameters, return at configuration that matches.

Variables

int _default_bitrate = 500
tuple _valid_samples_per_symbol = (2,3,4,5,6,7)

Function Documentation

def pick_bitrate::pick_rx_bitrate (   bitrate,
  bits_per_symbol,
  samples_per_symbol,
  decim_rate,
  converter_rate = 64e6 
)

Given the 4 input parameters, return at configuration that matches.

Parameters:
bitrate,: desired bitrate or None bitrate: number or None
bits_per_symbol,: E.g., BPSK -> 1, QPSK -> 2, 8-PSK -> 3 bits_per_symbol: integer >= 1
samples_per_symbol,: samples/baud (aka samples/symbol) samples_per_symbol: number or None
decim_rate,: USRP decimation factor decim_rate: integer or None
converter_rate,: converter sample rate in Hz converter_rate: number
Returns:
tuple (bitrate, samples_per_symbol, decim_rate)

def pick_bitrate::pick_tx_bitrate (   bitrate,
  bits_per_symbol,
  samples_per_symbol,
  interp_rate,
  converter_rate = 128e6 
)

Given the 4 input parameters, return at configuration that matches.

Parameters:
bitrate,: desired bitrate or None bitrate: number or None
bits_per_symbol,: E.g., BPSK -> 1, QPSK -> 2, 8-PSK -> 3 bits_per_symbol: integer >= 1
samples_per_symbol,: samples/baud (aka samples/symbol) samples_per_symbol: number or None
interp_rate,: USRP interpolation factor interp_rate: integer or None
converter_rate,: converter sample rate in Hz converter_rate: number
Returns:
tuple (bitrate, samples_per_symbol, interp_rate)


Variable Documentation


Generated on Thu Mar 5 09:03:58 2009 for GNU Radio 3.1.3 by  doxygen 1.5.8