gnuradio::modulation_utils Namespace Reference


Functions

def type_1_mods
def add_type_1_mod
def type_1_demods
def add_type_1_demod
def extract_kwargs_from_options
 Given a function, a list of excluded arguments and the result of parsing command line options, create a dictionary of key word arguments suitable for passing to the function.

Variables

dictionary _type_1_modulators = {}
dictionary _type_1_demodulators = {}

Function Documentation

def gnuradio::modulation_utils::add_type_1_demod (   name,
  demod_class 
)

def gnuradio::modulation_utils::add_type_1_mod (   name,
  mod_class 
)

def gnuradio::modulation_utils::extract_kwargs_from_options (   function,
  excluded_args,
  options 
)

Given a function, a list of excluded arguments and the result of parsing command line options, create a dictionary of key word arguments suitable for passing to the function.

The dictionary will be populated with key/value pairs where the keys are those that are common to the function's argument list (minus the excluded_args) and the attributes in options. The values are the corresponding values from options unless that value is None. In that case, the corresponding dictionary entry is not populated.

(This allows different modulations that have the same parameter names, but different default values to coexist. The downside is that --help in the option parser will list the default as None, but in that case the default provided in the __init__ argument list will be used since there is no kwargs entry.)

Parameters:
function,: the function whose parameter list will be examined
excluded_args,: function arguments that are NOT to be added to the dictionary excluded_args: sequence of strings
options,: result of command argument parsing options: optparse.Values

def gnuradio::modulation_utils::type_1_demods (  ) 

def gnuradio::modulation_utils::type_1_mods (  ) 


Variable Documentation


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