Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
__pycache__
*.a
*.o
*.so
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
[submodule "lib/libfec"]
path = lib/libfec
url = https://github.com/quiet/libfec.git
ignore = untracked
7 changes: 7 additions & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/fftw_wisdom
/pocket_acq
/pocket_conf
/pocket_dump
/pocket_scan
/pocket_snap
/pocket_trk
1 change: 1 addition & 0 deletions lib/LDPC-codes
Submodule LDPC-codes added at 74a8e2
1 change: 1 addition & 0 deletions lib/libfec
Submodule libfec added at 9750ca
Empty file modified python/pocket_acq.py
100644 → 100755
Empty file.
Empty file modified python/pocket_plot.py
100644 → 100755
Empty file.
Empty file modified python/pocket_psd.py
100644 → 100755
Empty file.
Empty file modified python/pocket_snap.py
100644 → 100755
Empty file.
Empty file modified python/pocket_trk.py
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions python/sdr_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down