diff options
author | Tom Rondeau <trondeau@vt.edu> | 2011-07-17 18:34:34 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2011-07-17 18:34:34 -0400 |
commit | 4daafa4e7d91b01e64cd8260fcbb9a97708524ba (patch) | |
tree | c6dd685a7113f0d88ad16c9d84c26b7eb51a2528 /gnuradio-core/src/python/gnuradio/modulation_utils2.py | |
parent | f7b9a0c6922c86cd54c1300ab45209d8e2db13df (diff) |
digital: reverting back to ofdm, pkt, and modulation_utils in gnuradio-core to master. Moved new versions under gr-digital.
Diffstat (limited to 'gnuradio-core/src/python/gnuradio/modulation_utils2.py')
-rw-r--r-- | gnuradio-core/src/python/gnuradio/modulation_utils2.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gnuradio-core/src/python/gnuradio/modulation_utils2.py b/gnuradio-core/src/python/gnuradio/modulation_utils2.py index f30055f4ac..c5dba3e791 100644 --- a/gnuradio-core/src/python/gnuradio/modulation_utils2.py +++ b/gnuradio-core/src/python/gnuradio/modulation_utils2.py @@ -47,15 +47,6 @@ def type_1_demods(): def add_type_1_demod(name, demod_class): _type_1_demodulators[name] = demod_class -# Also record the constellation making functions of the modulations -_type_1_constellations = {} - -def type_1_constellations(): - return _type_1_constellations - -def add_type_1_constellation(name, constellation): - _type_1_constellations[name] = constellation - def extract_kwargs_from_options(function, excluded_args, options): """ @@ -88,14 +79,3 @@ def extract_kwargs_from_options(function, excluded_args, options): if getattr(options, kw) is not None: d[kw] = getattr(options, kw) return d - -def extract_kwargs_from_options_for_class(cls, options): - """ - Given command line options, create dictionary suitable for passing to __init__ - """ - d = extract_kwargs_from_options( - cls.__init__, ('self',), options) - for base in cls.__bases__: - if hasattr(base, 'extract_kwargs_from_options'): - d.update(base.extract_kwargs_from_options(options)) - return d |