Revision 1ec42d6f gnuradio-core/src/python/gnuradio/blks2impl/generic_mod_demod.py
| b/gnuradio-core/src/python/gnuradio/blks2impl/generic_mod_demod.py | ||
|---|---|---|
| 45 | 45 |
_def_timing_max_dev = 1.5 |
| 46 | 46 |
# Fine frequency / Phase correction |
| 47 | 47 |
_def_phase_alpha = 0.1 |
| 48 |
# Number of points in constellation |
|
| 49 |
_def_constellation_points = 16 |
|
| 48 | 50 |
|
| 49 | 51 |
# ///////////////////////////////////////////////////////////////////////////// |
| 50 | 52 |
# Generic modulator |
| ... | ... | |
| 128 | 130 |
|
| 129 | 131 |
def add_options(parser): |
| 130 | 132 |
""" |
| 131 |
Adds generic modulation-specific options to the standard parser
|
|
| 133 |
Adds generic modulation options to the standard parser |
|
| 132 | 134 |
""" |
| 135 |
parser.add_option("-p", "--constellation-points", type="int", default=_def_constellation_points,
|
|
| 136 |
help="set the number of constellation points (must be a power of 4 for QAM) [default=%default]") |
|
| 133 | 137 |
parser.add_option("", "--excess-bw", type="float", default=_def_excess_bw,
|
| 134 | 138 |
help="set RRC excess bandwith factor [default=%default]") |
| 135 | 139 |
add_options=staticmethod(add_options) |
| ... | ... | |
| 320 | 324 |
|
| 321 | 325 |
def add_options(parser): |
| 322 | 326 |
""" |
| 323 |
Adds generic demodulation-specific options to the standard parser
|
|
| 327 |
Adds generic demodulation options to the standard parser |
|
| 324 | 328 |
""" |
| 329 |
parser.add_option("-p", "--constellation-points", type="int", default=_def_constellation_points,
|
|
| 330 |
help="set the number of constellation points (must be a power of 4 for QAM) [default=%default]") |
|
| 325 | 331 |
parser.add_option("", "--excess-bw", type="float", default=_def_excess_bw,
|
| 326 | 332 |
help="set RRC excess bandwith factor [default=%default]") |
| 327 | 333 |
parser.add_option("", "--freq-alpha", type="float", default=_def_freq_alpha,
|
Also available in: Unified diff