diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..305f8ef --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +__pycache__ +*.a +*.o +*.so diff --git a/.gitmodules b/.gitmodules index f5ef638..bbdd173 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,4 @@ [submodule "lib/libfec"] path = lib/libfec url = https://github.com/quiet/libfec.git + ignore = untracked diff --git a/app/.gitignore b/app/.gitignore new file mode 100644 index 0000000..8a17df1 --- /dev/null +++ b/app/.gitignore @@ -0,0 +1,7 @@ +/pocket_acq/pocket_acq +/pocket_conf/pocket_conf +/pocket_dump/pocket_dump +/pocket_scan/pocket_scan +/pocket_snap/pocket_snap +/pocket_trk/fftw_wisdom +/pocket_trk/pocket_trk diff --git a/bin/.gitignore b/bin/.gitignore new file mode 100644 index 0000000..a77b87a --- /dev/null +++ b/bin/.gitignore @@ -0,0 +1,7 @@ +/fftw_wisdom +/pocket_acq +/pocket_conf +/pocket_dump +/pocket_scan +/pocket_snap +/pocket_trk diff --git a/lib/LDPC-codes b/lib/LDPC-codes new file mode 160000 index 0000000..74a8e28 --- /dev/null +++ b/lib/LDPC-codes @@ -0,0 +1 @@ +Subproject commit 74a8e283be8259dbff7a6bab38ad7e9327825cbf diff --git a/lib/libfec b/lib/libfec new file mode 160000 index 0000000..9750ca0 --- /dev/null +++ b/lib/libfec @@ -0,0 +1 @@ +Subproject commit 9750ca0a6d0a786b506e44692776b541f90daa91 diff --git a/python/pocket_acq.py b/python/pocket_acq.py old mode 100644 new mode 100755 diff --git a/python/pocket_plot.py b/python/pocket_plot.py old mode 100644 new mode 100755 diff --git a/python/pocket_psd.py b/python/pocket_psd.py old mode 100644 new mode 100755 diff --git a/python/pocket_snap.py b/python/pocket_snap.py old mode 100644 new mode 100755 diff --git a/python/pocket_trk.py b/python/pocket_trk.py old mode 100644 new mode 100755 diff --git a/python/sdr_func.py b/python/sdr_func.py index d58ba27..4ea5d48 100644 --- a/python/sdr_func.py +++ b/python/sdr_func.py @@ -68,8 +68,8 @@ # data Digitized IF data as complex64 ndarray (length == 0: read error) # def read_data(file, fs, IQ, T, toff=0.0): - off = int(fs * toff * IQ) - cnt = int(fs * T * IQ) if T > 0.0 else -1 # all if T=0.0 + off = int(fs * toff * IQ) & ~7 + cnt = (int(fs * T * IQ) & ~1) if T > 0.0 else -1 # all if T=0.0 f = open(file, 'rb') f.seek(off, os.SEEK_SET)