mirror of
https://github.com/romanz/amodem.git
synced 2026-05-09 21:13:04 +08:00
remove not needed except
This commit is contained in:
@@ -249,7 +249,6 @@ def iread(fd, skip):
|
|||||||
|
|
||||||
|
|
||||||
def main(args):
|
def main(args):
|
||||||
try:
|
|
||||||
log.info('Running MODEM @ {:.1f} kbps'.format(modem.modem_bps / 1e3))
|
log.info('Running MODEM @ {:.1f} kbps'.format(modem.modem_bps / 1e3))
|
||||||
|
|
||||||
signal = iread(args.input, args.skip)
|
signal = iread(args.input, args.skip)
|
||||||
@@ -278,9 +277,7 @@ def main(args):
|
|||||||
pylab.subplot(HEIGHT, WIDTH, i+1)
|
pylab.subplot(HEIGHT, WIDTH, i+1)
|
||||||
constellation(symbol_list[i], modem.qam.symbols,
|
constellation(symbol_list[i], modem.qam.symbols,
|
||||||
'$F_c = {} Hz$'.format(freq))
|
'$F_c = {} Hz$'.format(freq))
|
||||||
except Exception as e:
|
|
||||||
log.exception(e)
|
|
||||||
finally:
|
|
||||||
pylab.show()
|
pylab.show()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user