diff options
author | Piotr Krysik <ptrkrysik@users.noreply.github.com> | 2016-02-29 11:41:22 +0100 |
---|---|---|
committer | Piotr Krysik <ptrkrysik@users.noreply.github.com> | 2016-02-29 11:41:22 +0100 |
commit | 6965a3369978eeeee36847f8f18c30927107cce2 (patch) | |
tree | ffe894c8dcd9a615c3e5d03ccb821cb87a99c89c /python/receiver | |
parent | 4ea1b92ff5a96d4748108a1d54dbc0e8dd6df5a2 (diff) | |
parent | 5707c2b01ef772a6cba95b305b3fff616f62f12b (diff) |
Merge pull request #162 from stiabhan/fix-wideband
Allow user to specify band in gsm_wideband_input.py/.xml
Diffstat (limited to 'python/receiver')
-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 |