make useful scripts executable

This commit is contained in:
Roman Zeyde
2014-07-11 10:38:58 +03:00
parent 26cd7c375e
commit 1eb7dff83c
6 changed files with 14 additions and 15 deletions

3
recv.py Normal file → Executable file
View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python
import numpy as np
import logging
import itertools
@@ -145,6 +146,8 @@ def receive(signal, freqs):
def main(fname):
log.info('Running MODEM @ {:.1f} kbps'.format(sigproc.modem_bps / 1e3))
_, x = load(open(fname, 'rb'))
result = detect(x, Fc)
if result is None: