mirror of
https://github.com/romanz/amodem.git
synced 2026-04-19 04:36:02 +08:00
make useful scripts executable
This commit is contained in:
3
recv.py
Normal file → Executable file
3
recv.py
Normal file → Executable 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:
|
||||
|
||||
Reference in New Issue
Block a user