diff options
author | Steve Glass <smdg@hush.com> | 2016-02-28 10:28:14 +1000 |
---|---|---|
committer | Steve Glass <smdg@hush.com> | 2016-02-29 17:50:10 +1000 |
commit | 5707c2b01ef772a6cba95b305b3fff616f62f12b (patch) | |
tree | ffe894c8dcd9a615c3e5d03ccb821cb87a99c89c /python | |
parent | 4ea1b92ff5a96d4748108a1d54dbc0e8dd6df5a2 (diff) |
Make band user-selectable in gsm_wideband_input
Diffstat (limited to 'python')
-rw-r--r-- | python/receiver/gsm_wideband_input.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/receiver/gsm_wideband_input.py b/python/receiver/gsm_wideband_input.py index 5898e3d..bff7cb7 100644 --- a/python/receiver/gsm_wideband_input.py +++ b/python/receiver/gsm_wideband_input.py @@ -15,7 +15,7 @@ import grgsm.arfcn as arfcn import grgsm class gsm_wideband_input(grgsm.hier_block): - def __init__(self, ppm=0, osr=4, fc=925.2e6, samp_rate_in=20e6, ca=[]): + def __init__(self, ppm=0, osr=4, fc=925.2e6, samp_rate_in=20e6, ca=[], band='P-GSM'): self.num_streams = len(ca) grgsm.hier_block.__init__( self, "GSM wideband input adaptor", @@ -34,7 +34,7 @@ class gsm_wideband_input(grgsm.hier_block): self.blocks_fir_filters = {} self.blocks_resamplers = {} self.blocks_ocs = {} - self.band = band = 'E-GSM' # TODO make selectable + self.band = band ################################################## # Variables |