# template for Lab #2, Task #2 import matplotlib.pyplot as p import lab2 # turn on interactive mode, useful if we're using ipython p.ion() def test_channel(channel): """ create a test waveform and plot both it and the output of passing the waveform through the channel. """ pass # your code here if __name__ == '__main__': # try out our two channels test_channel(lab2.channel1) test_channel(lab2.channel2) # interact with plots before exiting. p.show() returns # after all plot windows have been closed by the user. # Not needed if using ipython p.show()