diff --git a/library/au_sendreceive.py b/library/au_sendreceive.py index 8db8ffd..5f46860 100755 --- a/library/au_sendreceive.py +++ b/library/au_sendreceive.py @@ -66,7 +66,7 @@ def __call__( self, samples ): sample_id += 1 if silent_count < 512: - print "Could not find silence before preamble" + print "Could not find silence before preamble -- too much noise?" return [] print 'found carrier' diff --git a/response/PS5_eyedgm.py b/response/PS5_eyedgm.py index 2950fb9..95e2531 100644 --- a/response/PS5_eyedgm.py +++ b/response/PS5_eyedgm.py @@ -2,7 +2,7 @@ import au_sendreceive import numpy import matplotlib -matplotlib.use('macosx') +#matplotlib.use('macosx') import matplotlib.pyplot as p import PS5_tests @@ -77,10 +77,12 @@ def plot_eye_diagram(channel,plot_label, samples_per_bit): # channel2 = PS5_tests.channel(channelid='2') auchan = au_sendreceive.channel() + p.ion() + # plot the eye diagram for the three virtual channels # plot_eye_diagram(channel0,'0',samples_per_bit=50) # plot_eye_diagram(channel1,'1',samples_per_bit=50) # plot_eye_diagram(channel2,'2',samples_per_bit=50) - plot_eye_diagram(auchan,'audio',samples_per_bit=4) + plot_eye_diagram(auchan,'audio',samples_per_bit=50) p.show()