aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-23 17:15:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-07-23 17:15:56 +0200
commit398668b52a776219af6d056f74b24ec43b13852f (patch)
tree47c12d6bf53217161344f644f000d6cb32efb01f
parent5310fe8830ac25667daa332118be965be72c9420 (diff)
downloadodr-dab-cir-398668b52a776219af6d056f74b24ec43b13852f.tar.gz
odr-dab-cir-398668b52a776219af6d056f74b24ec43b13852f.tar.bz2
odr-dab-cir-398668b52a776219af6d056f74b24ec43b13852f.zip
Increase number of correlations to 1000
-rwxr-xr-xcorrelate_with_ref.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/correlate_with_ref.py b/correlate_with_ref.py
index a587165..3bf8640 100755
--- a/correlate_with_ref.py
+++ b/correlate_with_ref.py
@@ -80,7 +80,7 @@ def calc_cir(channel, start_ix):
# In TM1, the longest spacing between carrier components one can allow is
# around 504 T (246us, or 74km at speed of light). This gives us a limit
# on the number of correlations it makes sense to do.
- max_component_delay = 500 # T
+ max_component_delay = 1000 # T
cir = np.array([np.abs(np.corrcoef(channel[start_ix + corr_start_ix + i:start_ix + corr_start_ix + phase_ref.size + i], phase_ref)[0,1]) for i in range(max_component_delay)])